summaryrefslogtreecommitdiff
path: root/src/plugins/relay
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2012-12-25 16:59:46 +0100
committerSebastien Helleu <flashcode@flashtux.org>2012-12-25 16:59:46 +0100
commit306b2094210be55d43e896f875cfb7b62b509fab (patch)
tree8f6d61188e24bff3a89bd85ad67ba9165ad55c31 /src/plugins/relay
parente557239a4cb43f70d7fa33ffe44bd5718bf9fd2f (diff)
downloadweechat-306b2094210be55d43e896f875cfb7b62b509fab.zip
relay: fix memory leak when adding hdata to a message (weechat protocol)
Diffstat (limited to 'src/plugins/relay')
-rw-r--r--src/plugins/relay/weechat/relay-weechat-msg.c1
1 files changed, 1 insertions, 0 deletions
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);