diff options
author | Wouter Coekaerts <coekie@irssi.org> | 2005-03-06 19:30:08 +0000 |
---|---|---|
committer | coekie <coekie@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2005-03-06 19:30:08 +0000 |
commit | 418136656df8a2a002a74bd3f665717abfb11d65 (patch) | |
tree | b44798c25956de61a5816a0fe8ce027e049c8cbe /src/irc | |
parent | e159d8b2f05a57f1e8fa35595f4899b56e06503c (diff) | |
download | irssi-418136656df8a2a002a74bd3f665717abfb11d65.zip |
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
Diffstat (limited to 'src/irc')
-rw-r--r-- | src/irc/core/bans.c | 2 |
1 files changed, 2 insertions, 0 deletions
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) |