Commit 0bb029eb authored by Rémi Bernon's avatar Rémi Bernon Committed by Alexandre Julliard

comctl32: Avoid mismatching heap in ProgressWindowProc.

When free-ing an Alloc-ed pointer.
parent ca40454f
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment