mirror of
https://github.com/gryf/wmaker.git
synced 2026-01-09 15:24:12 +01:00
replaced free() with wfree() everywhere
fixed bug in wlist that caused colorpanel to crash
This commit is contained in:
@@ -101,7 +101,7 @@ WMCreateSplitView(WMWidget *parent)
|
||||
|
||||
sPtr->view = W_CreateView(W_VIEW(parent));
|
||||
if (!sPtr->view) {
|
||||
free(sPtr);
|
||||
wfree(sPtr);
|
||||
return NULL;
|
||||
}
|
||||
sPtr->view->self = sPtr;
|
||||
@@ -389,6 +389,6 @@ destroySplitView(SplitView *sPtr)
|
||||
{
|
||||
WMRemoveNotificationObserver(sPtr);
|
||||
|
||||
free(sPtr);
|
||||
wfree(sPtr);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user