comctl32: Avoid mismatching heap in ProgressWindowProc.
When free-ing an Alloc-ed pointer.
This commit is contained in:
parent
ca40454f47
commit
0bb029eb59
1 changed files with 1 additions and 1 deletions
|
@ -576,7 +576,7 @@ static LRESULT WINAPI ProgressWindowProc(HWND hwnd, UINT message,
|
|||
|
||||
case WM_DESTROY:
|
||||
TRACE("Progress Ctrl destruction, hwnd=%p\n", hwnd);
|
||||
free (infoPtr);
|
||||
Free (infoPtr);
|
||||
SetWindowLongPtrW(hwnd, 0, 0);
|
||||
theme = GetWindowTheme (hwnd);
|
||||
CloseThemeData (theme);
|
||||
|
|
Loading…
Add table
Reference in a new issue