diff options
author | Wouter Coekaerts <coekie@irssi.org> | 2005-03-06 18:42:10 +0000 |
---|---|---|
committer | coekie <coekie@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2005-03-06 18:42:10 +0000 |
commit | 2e81e13842a26e0e94fffd8a8fb41e64c65c501c (patch) | |
tree | 26aa3fee0a5f30bde4c2345ffa0d12c11284d22b /src | |
parent | 038ec18661a7dd2c191d086c23cbde4fd66f1bbb (diff) | |
download | irssi-2e81e13842a26e0e94fffd8a8fb41e64c65c501c.zip |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/core/commands.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/commands.c b/src/core/commands.c index c2882925..17b825b5 100644 --- a/src/core/commands.c +++ b/src/core/commands.c @@ -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; } } |