summaryrefslogtreecommitdiff
path: root/src/irc/irc-server.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/irc/irc-server.c')
-rw-r--r--src/irc/irc-server.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/irc/irc-server.c b/src/irc/irc-server.c
index 1581bf931..c0767d666 100644
--- a/src/irc/irc-server.c
+++ b/src/irc/irc-server.c
@@ -596,6 +596,9 @@ server_msgq_flush ()
WEECHAT_ERROR, command, args);
break;
}
+
+ if (command)
+ free (command);
}
free (entire_line);