From c6251e90711dc3c317e4f487f825a5988bc47e97 Mon Sep 17 00:00:00 2001 From: Jon Bergli Heier Date: Fri, 3 Sep 2010 21:31:10 +0200 Subject: servers.c: Free server name string. --- servers.c | 1 + 1 file changed, 1 insertion(+) diff --git a/servers.c b/servers.c index 6afce35..32a2505 100644 --- a/servers.c +++ b/servers.c @@ -58,6 +58,7 @@ void servers_init() { void servers_free() { for(GSList *node = servers; node; node = g_slist_next(node)) { struct server *s = node->data; + g_free(s->name); g_free(s->host); } g_slist_free(servers); -- cgit v1.2.3