Module: wine Branch: master Commit: 0bb029eb597f3502b2960b05c01688bfd5b8dcbf URL: https://gitlab.winehq.org/wine/wine/-/commit/0bb029eb597f3502b2960b05c01688b...
Author: Rémi Bernon rbernon@codeweavers.com Date: Thu Jan 12 20:27:31 2023 +0100
comctl32: Avoid mismatching heap in ProgressWindowProc.
When free-ing an Alloc-ed pointer.
---
dlls/comctl32/progress.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/comctl32/progress.c b/dlls/comctl32/progress.c index a329995a40e..6d556f10094 100644 --- a/dlls/comctl32/progress.c +++ b/dlls/comctl32/progress.c @@ -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);