mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-15 04:59:26 +00:00
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,7 +2951,8 @@ static void FILEDLG95_SHELL_Clean(HWND hwnd)
|
|||
IShellView_DestroyViewWindow(fodInfos->Shell.FOIShellView);
|
||||
IShellView_Release(fodInfos->Shell.FOIShellView);
|
||||
}
|
||||
IShellFolder_Release(fodInfos->Shell.FOIShellFolder);
|
||||
if (fodInfos->Shell.FOIShellFolder)
|
||||
IShellFolder_Release(fodInfos->Shell.FOIShellFolder);
|
||||
IShellBrowser_Release(fodInfos->Shell.FOIShellBrowser);
|
||||
if (fodInfos->Shell.FOIDataObject)
|
||||
IDataObject_Release(fodInfos->Shell.FOIDataObject);
|
||||
|
|
Loading…
Reference in a new issue