summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2011-01-02 15:28:20 +0100
committerSebastien Helleu <flashcode@flashtux.org>2011-01-02 15:28:20 +0100
commitfcfe8544410de238f6329439b2dadb6cc6a8192a (patch)
tree5b3cb9c2ff3c417c7877589b3a89144e839a58fb /src
parent10bf2a866593b0e5eea0838a9772c79d507d36f4 (diff)
downloadweechat-fcfe8544410de238f6329439b2dadb6cc6a8192a.zip
Fix memory leak in flush of irc message queue
Diffstat (limited to 'src')
-rw-r--r--src/plugins/irc/irc-server.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/irc/irc-server.c b/src/plugins/irc/irc-server.c
index b3143826b..acbc1ca9f 100644
--- a/src/plugins/irc/irc-server.c
+++ b/src/plugins/irc/irc-server.c
@@ -2007,6 +2007,8 @@ irc_server_msgq_flush ()
free (command);
if (channel)
free (channel);
+ if (arguments)
+ free (arguments);
if (msg_decoded)
free (msg_decoded);
if (msg_decoded_without_color)