From: Enno Boland (tox) Date: Tue, 13 Oct 2009 19:58:35 +0000 (+0200) Subject: fixing memoryleak. X-Git-Url: https://git.danieliu.xyz/?a=commitdiff_plain;h=029dac1504f9da97a3481d5e0fde0b18c2b33562;p=surf.git fixing memoryleak. --- 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