Fixed a memory leak in Windows uiForm. NOW OS X.
This commit is contained in:
parent
662c9de179
commit
61a94fde57
|
@ -248,6 +248,7 @@ void uiFormAppend(uiForm *f, const char *label, uiControl *c, int stretchy)
|
|||
SS_LEFT | SS_NOPREFIX,
|
||||
hInstance, NULL,
|
||||
TRUE);
|
||||
uiFree(wlabel);
|
||||
uiWindowsEnsureSetParentHWND(fc.label, f->hwnd);
|
||||
fc.stretchy = stretchy;
|
||||
uiControlSetParent(fc.c, uiControl(f));
|
||||
|
|
Loading…
Reference in New Issue