summaryrefslogtreecommitdiff
path: root/src/irc/core/irc-servers.c
diff options
context:
space:
mode:
authorailin-nemui <ailin-nemui@users.noreply.github.com>2016-09-26 16:43:33 +0200
committerGitHub <noreply@github.com>2016-09-26 16:43:33 +0200
commit8d4d313cc9853a62a2901d99b7c555e5c0d730b7 (patch)
tree09e5d709fff8669b11b9c21cec7abc4bac7975bb /src/irc/core/irc-servers.c
parent2216ed19da3dd6cd72ed93f212acee2fe08bcc2f (diff)
parent60d9ec621ff81ac68b9d2066fb77eaefc8d02ccb (diff)
downloadirssi-8d4d313cc9853a62a2901d99b7c555e5c0d730b7.zip
Merge pull request #506 from kruton/sasl-400-byte-chunk
SASL: handle fragmentation
Diffstat (limited to 'src/irc/core/irc-servers.c')
-rw-r--r--src/irc/core/irc-servers.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/irc/core/irc-servers.c b/src/irc/core/irc-servers.c
index 8148997b..79aeb227 100644
--- a/src/irc/core/irc-servers.c
+++ b/src/irc/core/irc-servers.c
@@ -446,6 +446,8 @@ static void sig_disconnected(IRC_SERVER_REC *server)
gslist_free_full(server->cap_queue, (GDestroyNotify) g_free);
server->cap_queue = NULL;
+ g_free_and_null(server->sasl_buffer);
+
/* these are dynamically allocated only if isupport was sent */
g_hash_table_foreach(server->isupport,
(GHFunc) isupport_destroy_hash, server);