summaryrefslogtreecommitdiff
path: root/src/actions.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/actions.c')
-rw-r--r--src/actions.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/actions.c b/src/actions.c
index c455dfa61..9d1a415d1 100644
--- a/src/actions.c
+++ b/src/actions.c
@@ -194,7 +194,7 @@ void common_unban(ChannelInfo * ci, char *nick)
}
/* host_resolve() sstrdup us this info so we gotta free it */
if (host) {
- free(host);
+ delete [] host;
}
}