mirror of
https://github.com/gryf/wmaker.git
synced 2026-02-15 05:25:53 +01:00
- Replaced all free() with wfree() where appropriate
- Fixed some memory leaks
This commit is contained in:
@@ -2878,7 +2878,7 @@ WMCreateTextForDocumentType(WMWidget *parent,
|
||||
tPtr->view = W_CreateView(W_VIEW(parent));
|
||||
if (!tPtr->view) {
|
||||
perror("could not create text's view\n");
|
||||
free(tPtr);
|
||||
wfree(tPtr);
|
||||
return NULL;
|
||||
}
|
||||
tPtr->view->self = tPtr;
|
||||
|
||||
Reference in New Issue
Block a user