1
0
mirror of https://github.com/irssi/irssi.git synced 2024-09-01 04:14:16 -04:00

fix the fix

This commit is contained in:
ailin-nemui 2019-10-01 11:09:25 +02:00
parent 4cc286634a
commit 03eb8d032a

View File

@ -457,8 +457,10 @@ static void sig_destroyed(IRC_SERVER_REC *server)
server->cap_queue = NULL;
/* was g_free_and_null, but can't use on a GString */
g_string_free(server->sasl_buffer, TRUE);
server->sasl_buffer = NULL;
if (server->sasl_buffer != NULL) {
g_string_free(server->sasl_buffer, TRUE);
server->sasl_buffer = NULL;
}
/* these are dynamically allocated only if isupport was sent */
g_hash_table_foreach(server->isupport,