Henri Verbeet : explorer: Initialise window->pidl to NULL in shellwindows_Register().
Alexandre Julliard
julliard at winehq.org
Mon Apr 26 15:51:32 CDT 2021
Module: wine
Branch: master
Commit: 6b49b50bbe16b6100a8efd0f1b6417279fa8574b
URL: https://source.winehq.org/git/wine.git/?a=commit;h=6b49b50bbe16b6100a8efd0f1b6417279fa8574b
Author: Henri Verbeet <hverbeet at codeweavers.com>
Date: Mon Apr 26 13:41:36 2021 +0200
explorer: Initialise window->pidl to NULL in shellwindows_Register().
Since array_reserve() doesn't.
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
programs/explorer/desktop.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/programs/explorer/desktop.c b/programs/explorer/desktop.c
index 94d178880a8..51d1535aea6 100644
--- a/programs/explorer/desktop.c
+++ b/programs/explorer/desktop.c
@@ -1219,6 +1219,7 @@ static HRESULT WINAPI shellwindows_Register(IShellWindows *iface,
window->hwnd = hwnd;
window->class = class;
*cookie = window->cookie = ++cookie_counter;
+ window->pidl = NULL;
LeaveCriticalSection(&sw->cs);
return S_OK;
More information about the wine-cvs
mailing list