1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-30 14:56:39 +02:00

irc: fix memory leak when a channel is deleted

This commit is contained in:
Sebastien Helleu
2013-11-23 16:15:36 +01:00
parent 262dff4b87
commit 95d0d33972
2 changed files with 3 additions and 0 deletions
+2
View File
@@ -1176,6 +1176,8 @@ irc_channel_free (struct t_irc_server *server, struct t_irc_channel *channel)
free (channel->modes);
if (channel->key)
free (channel->key);
if (channel->join_msg_received)
weechat_hashtable_free (channel->join_msg_received);
if (channel->away_message)
free (channel->away_message);
if (channel->pv_remote_nick_color)