mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05:00
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
This commit is contained in:
parent
e159d8b2f0
commit
418136656d
@ -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);
|
command_set_ban(ban ? ban : data, server, item, FALSE, 0);
|
||||||
|
|
||||||
g_free(ban);
|
g_free(ban);
|
||||||
|
|
||||||
|
cmd_params_free(free_arg);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void read_settings(void)
|
static void read_settings(void)
|
||||||
|
Loading…
Reference in New Issue
Block a user