From 029dac1504f9da97a3481d5e0fde0b18c2b33562 Mon Sep 17 00:00:00 2001 From: "Enno Boland (tox)" Date: Tue, 13 Oct 2009 21:58:35 +0200 Subject: [PATCH] fixing memoryleak. --- surf.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/surf.c b/surf.c index 86082ef..cd80c21 100644 --- a/surf.c +++ b/surf.c @@ -144,9 +144,10 @@ void cleanup(void) { while(clients) destroyclient(clients); - g_free(stylefile); - g_free(scriptfile); + g_free(cookiefile); g_free(dldir); + g_free(scriptfile); + g_free(stylefile); } void