mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-19 12:28:22 +01:00
- Replaced all free() with wfree() where appropriate
- Fixed some memory leaks
This commit is contained in:
@@ -176,7 +176,7 @@ parseMenuCommand(WScreen *scr, Window win, char **slist, int count, int *index)
|
||||
wMenuDestroy(menu, True);
|
||||
wwarning("appmenu: out of memory creating menu for window %x",
|
||||
slist[*index], win);
|
||||
free(data);
|
||||
wfree(data);
|
||||
return NULL;
|
||||
}
|
||||
if (rtext[0]!=0)
|
||||
|
||||
Reference in New Issue
Block a user