diff options
Diffstat (limited to 'regexset.c')
-rw-r--r-- | regexset.c | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -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; |