summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);