summaryrefslogtreecommitdiff
path: root/src/irc
diff options
context:
space:
mode:
Diffstat (limited to 'src/irc')
-rw-r--r--src/irc/core/netsplit.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/irc/core/netsplit.c b/src/irc/core/netsplit.c
index 397c10ba..865c9842 100644
--- a/src/irc/core/netsplit.c
+++ b/src/irc/core/netsplit.c
@@ -162,6 +162,7 @@ static void netsplit_destroy(IRC_SERVER_REC *server, NETSPLIT_REC *rec)
g_free(rec->name);
g_free(rec);
}
+ g_slist_free(rec->channels);
if (--rec->server->count == 0)
netsplit_server_destroy(server, rec->server);
@@ -403,11 +404,6 @@ void netsplit_init(void)
void netsplit_deinit(void)
{
- GSList *tmp;
-
- for (tmp = servers; tmp != NULL; tmp = tmp->next)
- sig_disconnected(tmp->data);
-
g_source_remove(split_tag);
signal_remove("event join", (SIGNAL_FUNC) event_join);
signal_remove("event join", (SIGNAL_FUNC) event_join_last);