mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05:00
Fix command_unbind memleak by Toby Peterson (Bug 211)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3713 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
038ec18661
commit
2e81e13842
@ -89,6 +89,7 @@ command_module_find_and_remove(COMMAND_REC *rec, SIGNAL_FUNC func)
|
||||
if (cb->func == func) {
|
||||
rec->callbacks =
|
||||
g_slist_remove(rec->callbacks, cb);
|
||||
g_free(cb);
|
||||
return rec;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user