irc: fix memory leak when a channel is deleted
This commit is contained in:
parent
262dff4b87
commit
95d0d33972
@ -41,6 +41,7 @@ http://weechat.org/files/releasenotes/ReleaseNotes-devel.html[release notes]
|
|||||||
* api: fix read of arrays in hdata functions hdata_<type> (bug #40354)
|
* api: fix read of arrays in hdata functions hdata_<type> (bug #40354)
|
||||||
* guile: disable guile gmp allocator (fix crash on unload of relay plugin)
|
* guile: disable guile gmp allocator (fix crash on unload of relay plugin)
|
||||||
(bug #40628)
|
(bug #40628)
|
||||||
|
* irc: fix memory leak when a channel is deleted
|
||||||
* irc: fix groups in channel nicklist when reconnecting to a server that
|
* irc: fix groups in channel nicklist when reconnecting to a server that
|
||||||
supports more nick prefixes than the previously connected server
|
supports more nick prefixes than the previously connected server
|
||||||
* irc: fix auto-switch to channel buffer when doing /join channel (without "#")
|
* irc: fix auto-switch to channel buffer when doing /join channel (without "#")
|
||||||
|
@ -1176,6 +1176,8 @@ irc_channel_free (struct t_irc_server *server, struct t_irc_channel *channel)
|
|||||||
free (channel->modes);
|
free (channel->modes);
|
||||||
if (channel->key)
|
if (channel->key)
|
||||||
free (channel->key);
|
free (channel->key);
|
||||||
|
if (channel->join_msg_received)
|
||||||
|
weechat_hashtable_free (channel->join_msg_received);
|
||||||
if (channel->away_message)
|
if (channel->away_message)
|
||||||
free (channel->away_message);
|
free (channel->away_message);
|
||||||
if (channel->pv_remote_nick_color)
|
if (channel->pv_remote_nick_color)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user