summary refs log tree commit diff stats
path: root/src/common/server.c
diff options
context:
space:
mode:
authorBerke Viktor <bviktor@hexchat.org>2013-05-14 16:40:32 +0200
committerBerke Viktor <bviktor@hexchat.org>2013-05-14 16:40:32 +0200
commita435e8648fa16c8f661626b055e0e6626bf26460 (patch)
tree5fce9360f1232168ec4f063076e98a5241717a07 /src/common/server.c
parent7cdfeff20490971c40deed9f59697f0e524348c8 (diff)
Fix initial autojoins and some erroneous copies/frees
Diffstat (limited to 'src/common/server.c')
-rw-r--r--src/common/server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/server.c b/src/common/server.c
index 7d48163f..c867e86a 100644
--- a/src/common/server.c
+++ b/src/common/server.c
@@ -2031,7 +2031,7 @@ server_free (server *serv)
 	if (serv->encoding)
 		free (serv->encoding);
 	if (serv->favlist)
-		g_slist_free_full (serv->favlist, g_free);
+		g_slist_free_full (serv->favlist, servlist_favchan_free);
 
 	fe_server_callback (serv);