diff options
author | LemonBoy <thatlemon@gmail.com> | 2017-10-21 10:21:03 +0200 |
---|---|---|
committer | LemonBoy <thatlemon@gmail.com> | 2018-01-07 12:36:18 +0100 |
commit | 98836f8b7ee058c32d54562903676c4d16f83aa4 (patch) | |
tree | 6bed9b9b549b5ef880782f02db4d830d0cb9af44 /src/irc/core/irc-servers.c | |
parent | d85f86726115a2f80d878254dd9773470d6dd9c1 (diff) | |
download | irssi-98836f8b7ee058c32d54562903676c4d16f83aa4.zip |
Parse the K/V form in CAP LS
This is a prerequisite for the IRC v3.2 compliance.
Diffstat (limited to 'src/irc/core/irc-servers.c')
-rw-r--r-- | src/irc/core/irc-servers.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/irc/core/irc-servers.c b/src/irc/core/irc-servers.c index 4eaab712..7fd83045 100644 --- a/src/irc/core/irc-servers.c +++ b/src/irc/core/irc-servers.c @@ -443,7 +443,7 @@ static void sig_disconnected(IRC_SERVER_REC *server) gslist_free_full(server->cap_active, (GDestroyNotify) g_free); server->cap_active = NULL; - gslist_free_full(server->cap_supported, (GDestroyNotify) g_free); + g_hash_table_destroy(server->cap_supported); server->cap_supported = NULL; gslist_free_full(server->cap_queue, (GDestroyNotify) g_free); |