summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Bergli Heier <snakebite@jvnv.net>2010-09-03 21:31:10 +0200
committerJon Bergli Heier <snakebite@jvnv.net>2010-09-03 21:31:10 +0200
commitc6251e90711dc3c317e4f487f825a5988bc47e97 (patch)
tree13f5e69f99535a5e267f9f808c70efbdee163f12
parent480e5f2ea6699b1eefd113918dfee6d2d3d18d30 (diff)
servers.c: Free server name string.
-rw-r--r--servers.c1
1 files changed, 1 insertions, 0 deletions
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);