From 306b2094210be55d43e896f875cfb7b62b509fab Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Tue, 25 Dec 2012 16:59:46 +0100 Subject: relay: fix memory leak when adding hdata to a message (weechat protocol) --- src/plugins/relay/weechat/relay-weechat-msg.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/plugins/relay') diff --git a/src/plugins/relay/weechat/relay-weechat-msg.c b/src/plugins/relay/weechat/relay-weechat-msg.c index 741059473..b5cd4bee4 100644 --- a/src/plugins/relay/weechat/relay-weechat-msg.c +++ b/src/plugins/relay/weechat/relay-weechat-msg.c @@ -700,6 +700,7 @@ relay_weechat_msg_add_hdata (struct t_relay_weechat_msg *msg, ptr_hdata_head, pointer, list_keys); + free (path_pointers); } count32 = htonl ((uint32_t)count); relay_weechat_msg_set_bytes (msg, pos_count, &count32, 4); -- cgit v1.2.3