diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2014-08-09 17:40:18 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2014-08-09 17:40:18 +0200 |
commit | 7a76a959ecf72fb1cdca51f84ed3d51698b1c600 (patch) | |
tree | 31ec2706a1bfff594a8ea0c99609729c7867b198 /src/plugins/relay | |
parent | a6aee98cb1869d9c6959188e4c0dcac4b7276725 (diff) | |
download | weechat-7a76a959ecf72fb1cdca51f84ed3d51698b1c600.zip |
relay: fix memory leak when receiving several lines from client (weechat protocol)
Diffstat (limited to 'src/plugins/relay')
-rw-r--r-- | src/plugins/relay/relay-client.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/relay/relay-client.c b/src/plugins/relay/relay-client.c index 690afc7f2..b596d15ce 100644 --- a/src/plugins/relay/relay-client.c +++ b/src/plugins/relay/relay-client.c @@ -388,6 +388,7 @@ relay_client_recv_text (struct t_relay_client *client, const char *data) */ free (client->partial_message); client->partial_message = NULL; + weechat_string_free_split (lines); return; } } |