1
0
mirror of https://github.com/gryf/wmaker.git synced 2026-01-27 18:35:52 +01:00

replaced free() with wfree() everywhere

fixed bug in wlist that caused colorpanel to crash
This commit is contained in:
kojima
1999-10-09 20:07:23 +00:00
parent 3ac51d8e32
commit 80fb09a74e
36 changed files with 272 additions and 234 deletions

View File

@@ -61,7 +61,7 @@ W_CreateBalloon(WMScreen *scr)
bPtr->view = W_CreateTopView(scr);
if (!bPtr->view) {
free(bPtr);
wfree(bPtr);
return NULL;
}
bPtr->view->self = bPtr;
@@ -110,7 +110,7 @@ WMSetBalloonTextForView(char *text, WMView *view)
}
if (oldText) {
free(oldText);
wfree(oldText);
}
}
@@ -466,7 +466,7 @@ destroyBalloon(Balloon *bPtr)
e = WMEnumerateHashTable(bPtr->table);
while ((str = WMNextHashEnumeratorItem(&e))) {
free(str);
wfree(str);
}
WMFreeHashTable(bPtr->table);
@@ -476,5 +476,5 @@ destroyBalloon(Balloon *bPtr)
if (bPtr->font)
WMReleaseFont(bPtr->font);
free(bPtr);
wfree(bPtr);
}