diff --git a/windows/form.cpp b/windows/form.cpp index a22f0f89..64b55a31 100644 --- a/windows/form.cpp +++ b/windows/form.cpp @@ -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));