mirror of
https://github.com/irssi/irssi.git
synced 2024-09-01 04:14:16 -04:00
fix double free
This commit is contained in:
parent
04b44a8f8d
commit
6eeec6a112
@ -78,7 +78,6 @@ static void sig_disconnected(IRC_SERVER_REC *server)
|
|||||||
rec = server->chanqueries;
|
rec = server->chanqueries;
|
||||||
g_return_if_fail(rec != NULL);
|
g_return_if_fail(rec != NULL);
|
||||||
|
|
||||||
g_hash_table_foreach(rec->accountqueries, (GHFunc) g_free, NULL);
|
|
||||||
g_hash_table_destroy(rec->accountqueries);
|
g_hash_table_destroy(rec->accountqueries);
|
||||||
for (n = 0; n < CHANNEL_QUERIES; n++)
|
for (n = 0; n < CHANNEL_QUERIES; n++)
|
||||||
g_slist_free(rec->queries[n]);
|
g_slist_free(rec->queries[n]);
|
||||||
|
Loading…
Reference in New Issue
Block a user