From a6aee98cb1869d9c6959188e4c0dcac4b7276725 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Sat, 9 Aug 2014 17:15:22 +0200 Subject: relay: fix memory leak when receiving commands from client (weechat protocol) --- src/plugins/relay/weechat/relay-weechat-protocol.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/plugins') diff --git a/src/plugins/relay/weechat/relay-weechat-protocol.c b/src/plugins/relay/weechat/relay-weechat-protocol.c index dc553cd8d..3ea85bf03 100644 --- a/src/plugins/relay/weechat/relay-weechat-protocol.c +++ b/src/plugins/relay/weechat/relay-weechat-protocol.c @@ -1394,6 +1394,7 @@ relay_weechat_protocol_recv (struct t_relay_client *client, const char *data) if (id) free (id); + free (command); if (argv) weechat_string_free_split (argv); if (argv_eol) -- cgit v1.2.3