1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-01 15:26:37 +02:00

irc: fix memory leak when a server is deleted

This commit is contained in:
Sebastien Helleu
2012-02-19 19:17:50 +01:00
parent 205a869598
commit 8a0f53019a
2 changed files with 3 additions and 0 deletions
+2
View File
@@ -1181,6 +1181,8 @@ irc_server_free_data (struct t_irc_server *server)
free (server->prefix_modes);
if (server->prefix_chars)
free (server->prefix_chars);
if (server->chantypes)
free (server->chantypes);
if (server->away_message)
free (server->away_message);
if (server->cmd_list_regexp)