mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-21 05:18:06 +01:00
- Replaced all free() with wfree() where appropriate
- Fixed some memory leaks
This commit is contained in:
@@ -135,7 +135,7 @@ CommitStacking(WScreen *scr)
|
||||
if (i>=nwindows) {
|
||||
puts("Internal inconsistency! window_count is incorrect!!!");
|
||||
printf("window_count says %i windows\n", nwindows);
|
||||
free(windows);
|
||||
wfree(windows);
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
@@ -144,7 +144,7 @@ CommitStacking(WScreen *scr)
|
||||
}
|
||||
}
|
||||
XRestackWindows(dpy, windows, i);
|
||||
free(windows);
|
||||
wfree(windows);
|
||||
|
||||
#ifdef KWM_HINTS
|
||||
wKWMBroadcastStacking(scr);
|
||||
|
||||
Reference in New Issue
Block a user