summaryrefslogtreecommitdiff
path: root/src/plugins/irc/irc-server.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/irc/irc-server.c')
-rw-r--r--src/plugins/irc/irc-server.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/irc/irc-server.c b/src/plugins/irc/irc-server.c
index 7b1945bc4..1b3737b99 100644
--- a/src/plugins/irc/irc-server.c
+++ b/src/plugins/irc/irc-server.c
@@ -1913,6 +1913,10 @@ irc_server_free_data (struct t_irc_server *server)
free (server->nick_modes);
if (server->host)
free (server->host);
+ if (server->cap_ls)
+ weechat_hashtable_free (server->cap_ls);
+ if (server->cap_list)
+ weechat_hashtable_free (server->cap_list);
if (server->isupport)
free (server->isupport);
if (server->prefix_modes)