1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-28 13:56:37 +02:00

relay: fix memory leak when receiving several lines from client (weechat protocol)

This commit is contained in:
Sébastien Helleu
2014-08-09 17:40:18 +02:00
parent a6aee98cb1
commit 7a76a959ec
+1
View File
@@ -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;
}
}