summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/core/channels.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/channels.c b/src/core/channels.c
index a858246a..f3c9f215 100644
--- a/src/core/channels.c
+++ b/src/core/channels.c
@@ -171,6 +171,7 @@ static void event_connected(SERVER_REC *server)
if (channel_find_servers(chatnet_servers, rec->name) == NULL)
g_string_sprintfa(chans, "%s,", rec->name);
}
+ g_slist_free(chatnet_servers);
if (chans->len > 0) {
g_string_truncate(chans, chans->len-1);