aboutsummaryrefslogtreecommitdiffstats
path: root/src/libutil/regexp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libutil/regexp.c')
-rw-r--r--src/libutil/regexp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libutil/regexp.c b/src/libutil/regexp.c
index b6adce55f..4ced0debc 100644
--- a/src/libutil/regexp.c
+++ b/src/libutil/regexp.c
@@ -155,6 +155,8 @@ rspamd_regexp_dtor (rspamd_regexp_t *re)
if (re->pattern) {
g_free (re->pattern);
}
+
+ g_slice_free1 (sizeof (*re), re);
}
}