From 7a76a959ecf72fb1cdca51f84ed3d51698b1c600 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Sat, 9 Aug 2014 17:40:18 +0200 Subject: relay: fix memory leak when receiving several lines from client (weechat protocol) --- src/plugins/relay/relay-client.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/plugins/relay') 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; } } -- cgit v1.2.3