aboutsummaryrefslogtreecommitdiffstats
path: root/src/libutil
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-04-14 14:28:04 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-04-14 14:28:04 +0100
commit9e1dd854f40a8c782eb2dd436c259817b1ac783a (patch)
tree901e1a330984cbd056c1f33fafc6579ec47c39a1 /src/libutil
parent6bc3b9fcf3c354464ca2735d0070c19fc1f00a68 (diff)
downloadrspamd-9e1dd854f40a8c782eb2dd436c259817b1ac783a.tar.gz
rspamd-9e1dd854f40a8c782eb2dd436c259817b1ac783a.zip
Fix copy&paste error.
Diffstat (limited to 'src/libutil')
-rw-r--r--src/libutil/regexp.c8
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);