mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-27 00:42:32 +01:00
replaced free() with wfree() everywhere
fixed bug in wlist that caused colorpanel to crash
This commit is contained in:
@@ -60,13 +60,13 @@ WMCreateScrollView(WMWidget *parent)
|
||||
|
||||
sPtr->view = W_CreateView(W_VIEW(parent));
|
||||
if (!sPtr->view) {
|
||||
free(sPtr);
|
||||
wfree(sPtr);
|
||||
return NULL;
|
||||
}
|
||||
sPtr->viewport = W_CreateView(sPtr->view);
|
||||
if (!sPtr->view) {
|
||||
W_DestroyView(sPtr->view);
|
||||
free(sPtr);
|
||||
wfree(sPtr);
|
||||
return NULL;
|
||||
}
|
||||
sPtr->view->self = sPtr;
|
||||
@@ -499,6 +499,6 @@ destroyScrollView(ScrollView *sPtr)
|
||||
{
|
||||
|
||||
|
||||
free(sPtr);
|
||||
wfree(sPtr);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user