Fixed a memory leak.
This commit is contained in:
parent
8df022f806
commit
eb7372f7c4
|
@ -58,6 +58,7 @@ static BOOL onWM_COMMAND(uiControl *c, HWND hwnd, WORD code, LRESULT *lResult)
|
|||
uiFree(wtext);
|
||||
return TRUE;
|
||||
}
|
||||
uiFree(wtext);
|
||||
// value() does the work for us
|
||||
value(s);
|
||||
(*(s->onChanged))(s, s->onChangedData);
|
||||
|
|
Loading…
Reference in New Issue