mirror of
https://github.com/reactos/reactos.git
synced 2024-10-05 08:54:40 +00:00
[COMCTL32]
- Fix heap memory leak in BUTTON_DrawTextCallback CORE-13190 svn path=/trunk/; revision=74481
This commit is contained in:
parent
a6f1faa394
commit
ef84fa90a8
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue