diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2011-05-26 16:31:49 +0200 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2011-05-26 16:31:49 +0200 |
commit | dbe3514cd6a1b20f87437a3edd952618d14aff9e (patch) | |
tree | a2a45323c1dc99006efaa25b4cfc09025034d6e4 /src/plugins/irc | |
parent | e90f19c8912a05b9a501bc1318797906620b8103 (diff) | |
download | weechat-dbe3514cd6a1b20f87437a3edd952618d14aff9e.zip |
irc: fix memory leak on plugin unload (free ignores)
Diffstat (limited to 'src/plugins/irc')
-rw-r--r-- | src/plugins/irc/irc.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/irc/irc.c b/src/plugins/irc/irc.c index 80651489e..4ad1fbb6e 100644 --- a/src/plugins/irc/irc.c +++ b/src/plugins/irc/irc.c @@ -35,6 +35,7 @@ #include "irc-completion.h" #include "irc-config.h" #include "irc-debug.h" +#include "irc-ignore.h" #include "irc-info.h" #include "irc-input.h" #include "irc-nick.h" @@ -266,6 +267,8 @@ weechat_plugin_end (struct t_weechat_plugin *plugin) irc_server_disconnect_all (); } + irc_ignore_free_all (); + irc_raw_message_free_all (); irc_server_free_all (); |