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