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