mirror of
https://github.com/reactos/reactos.git
synced 2024-07-02 02:34:53 +00:00
[SHELL32]
- Fix shell folder reference leak in _OpenDirectory. CORE-9867 svn path=/trunk/; revision=68263
This commit is contained in:
parent
970ab0db9a
commit
32e831b904
|
@ -634,6 +634,7 @@ BOOL _OpenDirectory(LPNOTIFYREGISTER item)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
hr = IShellFolder_GetDisplayNameOf(psfDesktop, item->pidl, SHGDN_FORPARSING, &strFile);
|
hr = IShellFolder_GetDisplayNameOf(psfDesktop, item->pidl, SHGDN_FORPARSING, &strFile);
|
||||||
|
IShellFolder_Release(psfDesktop);
|
||||||
if (!SUCCEEDED(hr))
|
if (!SUCCEEDED(hr))
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue