mirror of
https://github.com/irssi/irssi.git
synced 2025-02-02 15:08:01 -05:00
Properly free sasl_buffer GString
This commit is contained in:
parent
8a1a96c12c
commit
f6cca3de4e
@ -456,7 +456,9 @@ static void sig_destroyed(IRC_SERVER_REC *server)
|
||||
gslist_free_full(server->cap_queue, (GDestroyNotify) g_free);
|
||||
server->cap_queue = NULL;
|
||||
|
||||
g_free_and_null(server->sasl_buffer);
|
||||
/* was g_free_and_null, but can't use on a GString */
|
||||
g_string_free(server->sasl_buffer);
|
||||
server->sasl_buffer = NULL;
|
||||
|
||||
/* these are dynamically allocated only if isupport was sent */
|
||||
g_hash_table_foreach(server->isupport,
|
||||
|
Loading…
x
Reference in New Issue
Block a user