mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-19 04:20:27 +01:00
replaced free() with wfree() everywhere
fixed bug in wlist that caused colorpanel to crash
This commit is contained in:
@@ -62,7 +62,7 @@ WMProgressIndicator*
|
||||
|
||||
pPtr->view = W_CreateView(W_VIEW(parent));
|
||||
if (!pPtr->view) {
|
||||
free(pPtr);
|
||||
wfree(pPtr);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
@@ -293,6 +293,6 @@ destroyProgressIndicator(ProgressIndicator *pPtr)
|
||||
{
|
||||
WMRemoveNotificationObserver(pPtr);
|
||||
|
||||
free(pPtr);
|
||||
wfree(pPtr);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user