mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-31 02:52:30 +01:00
replaced free() with wfree() everywhere
fixed bug in wlist that caused colorpanel to crash
This commit is contained in:
@@ -79,7 +79,7 @@ WMCreateSlider(WMWidget *parent)
|
||||
|
||||
sPtr->view = W_CreateView(W_VIEW(parent));
|
||||
if (!sPtr->view) {
|
||||
free(sPtr);
|
||||
wfree(sPtr);
|
||||
return NULL;
|
||||
}
|
||||
sPtr->view->self = sPtr;
|
||||
@@ -550,6 +550,6 @@ destroySlider(Slider *sPtr)
|
||||
|
||||
WMRemoveNotificationObserver(sPtr);
|
||||
|
||||
free(sPtr);
|
||||
wfree(sPtr);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user