summaryrefslogtreecommitdiff
path: root/src/plugins/scripts
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2011-04-15 10:40:23 +0200
committerSebastien Helleu <flashcode@flashtux.org>2011-04-15 10:40:23 +0200
commit55aa584a2bd4241240ec59208e710e26a5c7ab10 (patch)
treebd2ae1e53e5135f62df75a5186bcdb4982761296 /src/plugins/scripts
parent091d128ac54e445c40e3fd5adbb098d3b2ceef3b (diff)
downloadweechat-55aa584a2bd4241240ec59208e710e26a5c7ab10.zip
plugins: fix memory leaks when setting buffer callbacks after /upgrade (plugins: irc, relay, xfer, scripts)
Diffstat (limited to 'src/plugins/scripts')
-rw-r--r--src/plugins/scripts/script.c1
1 files changed, 1 insertions, 0 deletions
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);
}
}