summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2011-05-26 16:31:49 +0200
committerSebastien Helleu <flashcode@flashtux.org>2011-05-26 16:31:49 +0200
commitdbe3514cd6a1b20f87437a3edd952618d14aff9e (patch)
treea2a45323c1dc99006efaa25b4cfc09025034d6e4 /src
parente90f19c8912a05b9a501bc1318797906620b8103 (diff)
downloadweechat-dbe3514cd6a1b20f87437a3edd952618d14aff9e.zip
irc: fix memory leak on plugin unload (free ignores)
Diffstat (limited to 'src')
-rw-r--r--src/plugins/irc/irc.c3
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 ();