summaryrefslogtreecommitdiff
path: root/nick.c
diff options
context:
space:
mode:
Diffstat (limited to 'nick.c')
-rw-r--r--nick.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nick.c b/nick.c
index 181a3a1..088edca 100644
--- a/nick.c
+++ b/nick.c
@@ -103,6 +103,6 @@ void nick_free() {
free(nick);
nick = next;
}
- free(nicks);
+ nicks = NULL; // nicks already free'd by first iteration
pcre_free((void*)nick_pcre_tables);
}