summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEnno Boland (tox) <tox@s01.de>2009-10-13 21:58:35 +0200
committerEnno Boland (tox) <tox@s01.de>2009-10-13 21:58:35 +0200
commit029dac1504f9da97a3481d5e0fde0b18c2b33562 (patch)
tree75f2cc1e9d538c95a69ca5e6951bce9fa7c9809d
parent0d28cf745823b8c188d169bc23a1131479ccfec6 (diff)
downloadsurf-029dac1504f9da97a3481d5e0fde0b18c2b33562.tar.gz
surf-029dac1504f9da97a3481d5e0fde0b18c2b33562.tar.bz2
surf-029dac1504f9da97a3481d5e0fde0b18c2b33562.zip
fixing memoryleak.
-rw-r--r--surf.c5
1 files 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