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:
@@ -149,11 +149,11 @@ void
|
||||
wCoreDestroy(WCoreWindow *core)
|
||||
{
|
||||
if (core->stacking) {
|
||||
free(core->stacking);
|
||||
wfree(core->stacking);
|
||||
}
|
||||
XDeleteContext(dpy, core->window, wWinContext);
|
||||
XDestroyWindow(dpy, core->window);
|
||||
free(core);
|
||||
wfree(core);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user