diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2014-08-09 17:15:22 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2014-08-09 17:15:22 +0200 |
commit | a6aee98cb1869d9c6959188e4c0dcac4b7276725 (patch) | |
tree | d340f171a8eb9bc583923b8278b3862e813e406c /src/plugins | |
parent | 4c871760d2cd1b08196cbad456e063555460d9e5 (diff) | |
download | weechat-a6aee98cb1869d9c6959188e4c0dcac4b7276725.zip |
relay: fix memory leak when receiving commands from client (weechat protocol)
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/relay/weechat/relay-weechat-protocol.c | 1 |
1 files changed, 1 insertions, 0 deletions
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) |