1
0
mirror of https://github.com/gryf/wmaker.git synced 2026-03-02 14:35:47 +01:00

- Replaced all free() with wfree() where appropriate

- Fixed some memory leaks
This commit is contained in:
dan
2000-10-31 14:57:22 +00:00
parent 581ab58f70
commit 497e34b6b8
72 changed files with 545 additions and 539 deletions

View File

@@ -67,13 +67,13 @@ void
WMDestroyMenuItem(WMMenuItem *item)
{
if (item->title)
free(item->title);
wfree(item->title);
if (item->image)
WMReleasePixmap(item->image);
if (item->shortcutKey)
free(item->shortcutKey);
wfree(item->shortcutKey);
if (item->onStateImage)
WMReleasePixmap(item->onStateImage);