From 55aa584a2bd4241240ec59208e710e26a5c7ab10 Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Fri, 15 Apr 2011 10:40:23 +0200 Subject: plugins: fix memory leaks when setting buffer callbacks after /upgrade (plugins: irc, relay, xfer, scripts) --- src/plugins/scripts/script.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/plugins/scripts') diff --git a/src/plugins/scripts/script.c b/src/plugins/scripts/script.c index 89524d6fe..32076959e 100644 --- a/src/plugins/scripts/script.c +++ b/src/plugins/scripts/script.c @@ -170,6 +170,7 @@ script_upgrade_set_buffer_callbacks (struct t_weechat_plugin *weechat_plugin, } } } + weechat_infolist_free (infolist); } } -- cgit v1.2.3