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:
|
case WM_DESTROY:
|
||||||
TRACE("Progress Ctrl destruction, hwnd=%p\n", hwnd);
|
TRACE("Progress Ctrl destruction, hwnd=%p\n", hwnd);
|
||||||
free (infoPtr);
|
Free (infoPtr);
|
||||||
SetWindowLongPtrW(hwnd, 0, 0);
|
SetWindowLongPtrW(hwnd, 0, 0);
|
||||||
theme = GetWindowTheme (hwnd);
|
theme = GetWindowTheme (hwnd);
|
||||||
CloseThemeData (theme);
|
CloseThemeData (theme);
|
||||||
|
|
Loading…
Add table
Reference in a new issue