}
if (str_ptr[0] == '!')
flag = DETECT_CONTENT_NEGATED;
+ pcre_free_substring(str_ptr);
res = pcre_get_substring((char *)str, ov, MAX_SUBSTRINGS, 2, &str_ptr);
if (res < 0) {
if (unlikely(orig == NULL)) {
goto error;
}
+ pcre_free_substring(str_ptr);
+
tmp_str=orig;
/* Let's see if we need to escape "'s */
}
if (str_ptr[0] == '!')
flag = DETECT_CONTENT_NEGATED;
+ pcre_free_substring(str_ptr);
res = pcre_get_substring((char *)str, ov, MAX_SUBSTRINGS, 2, &str_ptr);
if (res < 0) {
if (unlikely(orig == NULL)) {
goto error;
}
+ pcre_free_substring(str_ptr);
+
tmp_str=orig;
/* Let's see if we need to escape "'s */
}
if (str_ptr[0] == '!')
flag = DETECT_CONTENT_NEGATED;
+ pcre_free_substring(str_ptr);
res = pcre_get_substring((char *)str, ov, MAX_SUBSTRINGS, 2, &str_ptr);
if (res < 0) {
if (unlikely(orig == NULL)) {
goto error;
}
+ pcre_free_substring(str_ptr);
+
tmp_str=orig;
/* Let's see if we need to escape "'s */