mirror of
https://github.com/irssi/irssi.git
synced 2026-08-08 19:30:15 +02:00
fix the fix
This commit is contained in:
parent
4cc286634a
commit
03eb8d032a
1 changed files with 4 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue