diff options
Diffstat (limited to 'src/libutil/regexp.c')
-rw-r--r-- | src/libutil/regexp.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libutil/regexp.c b/src/libutil/regexp.c index 2ef4f58fc..4ecfa7879 100644 --- a/src/libutil/regexp.c +++ b/src/libutil/regexp.c @@ -102,11 +102,11 @@ rspamd_regexp_dtor (rspamd_regexp_t *re) if (re->raw_re) { pcre_free (re->raw_re); #ifdef HAVE_PCRE_JIT - if (re->extra) { - pcre_free_study (re->extra); + if (re->raw_extra) { + pcre_free_study (re->raw_extra); } - if (re->jstack) { - pcre_jit_stack_free (re->jstack); + if (re->raw_jstack) { + pcre_jit_stack_free (re->raw_jstack); } #else pcre_free (re->raw_extra); |