From dbe3514cd6a1b20f87437a3edd952618d14aff9e Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Thu, 26 May 2011 16:31:49 +0200 Subject: irc: fix memory leak on plugin unload (free ignores) --- src/plugins/irc/irc.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/plugins/irc') 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 (); -- cgit v1.2.3