From fcfe8544410de238f6329439b2dadb6cc6a8192a Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Sun, 2 Jan 2011 15:28:20 +0100 Subject: Fix memory leak in flush of irc message queue --- src/plugins/irc/irc-server.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') 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) -- cgit v1.2.3