1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-02 07:46:38 +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
+1
View File
@@ -89,6 +89,7 @@ Version 0.4.0 (under dev!)
* irc: fix crash when message 352 has too few arguments (bug #37513)
* irc: remove unneeded server disconnect when server buffer is closed and server
is already disconnected
* relay: fix memory leak when adding hdata to a message (weechat protocol)
* relay: add backlog and server capability "server-time" for irc protocol, add
new options relay.irc.backlog_max_minutes, relay.irc.backlog_max_number,
relay.irc.backlog_since_last_disconnect, relay.irc.backlog_tags,
@@ -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);