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