From 418136656df8a2a002a74bd3f665717abfb11d65 Mon Sep 17 00:00:00 2001 From: Wouter Coekaerts Date: Sun, 6 Mar 2005 19:30:08 +0000 Subject: Fix memleak in /UNBAN, by Toby Peterson (Bug 215) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3717 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/irc/core/bans.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/irc') diff --git a/src/irc/core/bans.c b/src/irc/core/bans.c index 4412efe7..0f00fce1 100644 --- a/src/irc/core/bans.c +++ b/src/irc/core/bans.c @@ -307,6 +307,8 @@ static void cmd_unban(const char *data, IRC_SERVER_REC *server, void *item) command_set_ban(ban ? ban : data, server, item, FALSE, 0); g_free(ban); + + cmd_params_free(free_arg); } static void read_settings(void) -- cgit v1.2.3