summary refs log tree commit diff stats
path: root/src/common/server.c
diff options
context:
space:
mode:
authorTingPing <tngpng@gmail.com>2013-05-16 09:07:38 -0700
committerTingPing <tngpng@gmail.com>2013-05-16 09:07:38 -0700
commit69c2893234452107b2db67e431868d7400ea25aa (patch)
tree904233560d5029a472ec6416b4874f55c9b17011 /src/common/server.c
parent26cefd0587a5ca092a7b4ee442c144eee9e19dc5 (diff)
parent8ccd11ee4bbf3d4a7a7fc06a872eca6d20544cba (diff)
Merge pull request #586 from bviktor/authcleanup
Login and network list cleanup
Diffstat (limited to 'src/common/server.c')
-rw-r--r--src/common/server.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/server.c b/src/common/server.c
index 26d9a7cb..9b71d53d 100644
--- a/src/common/server.c
+++ b/src/common/server.c
@@ -2030,8 +2030,8 @@ server_free (server *serv)
 		free (serv->last_away_reason);
 	if (serv->encoding)
 		free (serv->encoding);
-	if (serv->autojoin)
-		free (serv->autojoin);
+	if (serv->favlist)
+		g_slist_free_full (serv->favlist, (GDestroyNotify) servlist_favchan_free);
 
 	fe_server_callback (serv);