Commit 6b49b50b authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

explorer: Initialise window->pidl to NULL in shellwindows_Register().

Since array_reserve() doesn't. Signed-off-by: 's avatarHenri Verbeet <hverbeet@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent b9070e11
......@@ -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;
......
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