mirror of
https://github.com/reactos/reactos.git
synced 2024-09-30 14:37:45 +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;
|
||||
|
||||
hr = IShellFolder_GetDisplayNameOf(psfDesktop, item->pidl, SHGDN_FORPARSING, &strFile);
|
||||
IShellFolder_Release(psfDesktop);
|
||||
if (!SUCCEEDED(hr))
|
||||
return FALSE;
|
||||
|
||||
|
|
Loading…
Reference in a new issue