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:
parent
4cc286634a
commit
03eb8d032a
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user