1
0
mirror of https://github.com/wine-mirror/wine synced 2024-07-01 07:14:31 +00:00

comctl32: Avoid mismatching heap in ProgressWindowProc.

When free-ing an Alloc-ed pointer.
This commit is contained in:
Rémi Bernon 2023-01-12 20:27:31 +01:00 committed by Alexandre Julliard
parent ca40454f47
commit 0bb029eb59

View File

@ -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);