fixing memoryleak.
This commit is contained in:
parent
0d28cf7458
commit
029dac1504
1 changed files with 3 additions and 2 deletions
5
surf.c
5
surf.c
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue