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

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

No files matched your search

+2 -2
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);