summaryrefslogtreecommitdiff
path: root/src/misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/misc.c')
-rw-r--r--src/misc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/misc.c b/src/misc.c
index 7ac0a809e..e44e4cb93 100644
--- a/src/misc.c
+++ b/src/misc.c
@@ -826,6 +826,7 @@ int nickIsServices(char *tempnick, int bot)
if (s) {
*s++ = 0;
if (stricmp(s, ServerName) != 0)
+ free(nick);
return found;
}