summaryrefslogtreecommitdiff
path: root/regexset.c
diff options
context:
space:
mode:
Diffstat (limited to 'regexset.c')
-rw-r--r--regexset.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/regexset.c b/regexset.c
index 5608d12..e69b5c7 100644
--- a/regexset.c
+++ b/regexset.c
@@ -161,6 +161,17 @@ void rs_free() {
pcre_free(regexes[i].kick);
if(regexes[i].kick_e)
pcre_free(regexes[i].kick_e);
+ pcre_free(regexes[i].nick_changed);
+ if(regexes[i].nick_changed_e)
+ pcre_free(regexes[i].nick_changed_e);
+ pcre_free(regexes[i].log_opened);
+ if(regexes[i].log_opened_e)
+ pcre_free(regexes[i].log_opened_e);
+ if(regexes[i].day_changed) {
+ pcre_free(regexes[i].day_changed);
+ if(regexes[i].day_changed_e)
+ pcre_free(regexes[i].day_changed_e);
+ }
}
free(regexes);
regexes = NULL;