1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-19 12:28:22 +01:00

Use proper (w)free functions for (w)malloced data.

This commit is contained in:
Tobias Stoeckmann
2012-05-03 17:45:28 +02:00
committed by Carlos R. Mafra
parent 975d4becf1
commit 2755b1e45d
3 changed files with 8 additions and 8 deletions

View File

@@ -154,7 +154,7 @@ static WMenu *parseMenuCommand(WScreen * scr, Window win, char **slist, int coun
if (!entry) {
wMenuDestroy(menu, True);
wwarning("appmenu: out of memory creating menu for window %lx", win);
wfree(data);
free(data);
return NULL;
}
if (rtext[0] != 0)