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:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user