mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-27 03:43:36 +00:00
[COMCTL32]
- Fix heap memory leak in BUTTON_DrawTextCallback CORE-13190 svn path=/trunk/; revision=74481
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user