1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-05 17:23:15 +02:00

relay: fix memory leak when adding hdata to a message (weechat protocol)

This commit is contained in:
Sebastien Helleu
2012-12-25 16:59:46 +01:00
parent e557239a4c
commit 306b209421
2 changed files with 2 additions and 0 deletions
@@ -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);