summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Enno Boland (tox) 2009-10-13 21:58:35 +0200
committerGravatar Enno Boland (tox) 2009-10-13 21:58:35 +0200
commit029dac1504f9da97a3481d5e0fde0b18c2b33562 (patch)
tree75f2cc1e9d538c95a69ca5e6951bce9fa7c9809d
parentmaking config-files configurable in config.h (diff)
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