fixing memoryleak.

This commit is contained in:
Enno Boland (tox) 2009-10-13 21:58:35 +02:00
parent 0d28cf7458
commit 029dac1504
1 changed files with 3 additions and 2 deletions

5
surf.c
View File

@ -144,9 +144,10 @@ void
cleanup(void) { cleanup(void) {
while(clients) while(clients)
destroyclient(clients); destroyclient(clients);
g_free(stylefile); g_free(cookiefile);
g_free(scriptfile);
g_free(dldir); g_free(dldir);
g_free(scriptfile);
g_free(stylefile);
} }
void void