Fixed a memory leak.

This commit is contained in:
Pietro Gagliardi 2015-09-02 19:46:10 -04:00
parent 8df022f806
commit eb7372f7c4
1 changed files with 1 additions and 0 deletions

View File

@ -58,6 +58,7 @@ static BOOL onWM_COMMAND(uiControl *c, HWND hwnd, WORD code, LRESULT *lResult)
uiFree(wtext); uiFree(wtext);
return TRUE; return TRUE;
} }
uiFree(wtext);
// value() does the work for us // value() does the work for us
value(s); value(s);
(*(s->onChanged))(s, s->onChangedData); (*(s->onChanged))(s, s->onChangedData);