tfixing memoryleak. - surf - customized build of surf, the suckless webkit brow… | |
git clone git://src.adamsgaard.dk/surf | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 029dac1504f9da97a3481d5e0fde0b18c2b33562 | |
parent 0d28cf745823b8c188d169bc23a1131479ccfec6 | |
Author: Enno Boland (tox) <[email protected]> | |
Date: Tue, 13 Oct 2009 21:58:35 +0200 | |
fixing memoryleak. | |
Diffstat: | |
M surf.c | 5 +++-- | |
1 file changed, 3 insertions(+), 2 deletions(-) | |
--- | |
diff --git a/surf.c b/surf.c | |
t@@ -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 |