]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/lib/bregex.c
Remove SQLite2 scripts
[bacula/bacula] / bacula / src / lib / bregex.c
index d955737d2c0cda979e583efe4663e43847349a54..1e4b3ac5a418c011d107ee9668203682a70ab81f 100644 (file)
@@ -1943,7 +1943,7 @@ int re_search(regex_t * bufp, unsigned char *str, int size, int pos,
       if (!bufp->lcase) {
          bufp->lcase = get_pool_memory(PM_FNAME);
       }
-      check_pool_memory_size(bufp->lcase, len+1);
+      bufp->lcase = check_pool_memory_size(bufp->lcase, len+1);
       unsigned char *dst = (unsigned char *)bufp->lcase;
       while (*string) {
          *dst++ = tolower(*string++);