]> Skullheadx's Git Forge - surf.git/commitdiff
fixing memoryleak.
authorEnno Boland (tox) <tox@s01.de>
Tue, 13 Oct 2009 19:58:35 +0000 (21:58 +0200)
committerEnno Boland (tox) <tox@s01.de>
Tue, 13 Oct 2009 19:58:35 +0000 (21:58 +0200)
surf.c

diff --git a/surf.c b/surf.c
index 86082efad5246ead0ac17101cd50375b04701a8f..cd80c21a4a7fc76ffb63c241d685c4e5df69a79c 100644 (file)
--- 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