[COMCTL32]

- Fix heap memory leak in BUTTON_DrawTextCallback
CORE-13190

svn path=/trunk/; revision=74481
This commit is contained in:
Thomas Faber 2017-05-05 19:23:04 +00:00
parent a6f1faa394
commit ef84fa90a8

View file

@ -1269,6 +1269,7 @@ static BOOL CALLBACK BUTTON_DrawTextCallback(HDC hdc, LPARAM lp, WPARAM wp, int
}
DrawTextW(hdc, text, -1, &rc, (UINT)wp);
HeapFree(GetProcessHeap(), 0, text);
return TRUE;
#endif
}