comdlg32: Don't crash if an IShellFolder could not be created.
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
bd1b3c104e
commit
e07d20f3f3
|
@ -2951,6 +2951,7 @@ static void FILEDLG95_SHELL_Clean(HWND hwnd)
|
||||||
IShellView_DestroyViewWindow(fodInfos->Shell.FOIShellView);
|
IShellView_DestroyViewWindow(fodInfos->Shell.FOIShellView);
|
||||||
IShellView_Release(fodInfos->Shell.FOIShellView);
|
IShellView_Release(fodInfos->Shell.FOIShellView);
|
||||||
}
|
}
|
||||||
|
if (fodInfos->Shell.FOIShellFolder)
|
||||||
IShellFolder_Release(fodInfos->Shell.FOIShellFolder);
|
IShellFolder_Release(fodInfos->Shell.FOIShellFolder);
|
||||||
IShellBrowser_Release(fodInfos->Shell.FOIShellBrowser);
|
IShellBrowser_Release(fodInfos->Shell.FOIShellBrowser);
|
||||||
if (fodInfos->Shell.FOIDataObject)
|
if (fodInfos->Shell.FOIDataObject)
|
||||||
|
|
Loading…
Reference in New Issue