mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
[BROWSEUI] Clear pidlLastParsed on CAddressEditBox::Execute (#6183)
Based on KRosUser's gopidlparsed.patch. Clear pidlLastParsed if necessary. CORE-19019
This commit is contained in:
parent
19f3d6bd8d
commit
ac1a96477b
1 changed files with 8 additions and 0 deletions
|
@ -318,8 +318,16 @@ HRESULT STDMETHODCALLTYPE CAddressEditBox::Execute(long paramC)
|
|||
hr = psf->CompareIDs(0, pidl, pidlLastParsed);
|
||||
|
||||
SHFree(pidl);
|
||||
|
||||
if (hr == 0)
|
||||
{
|
||||
if (pidlLastParsed)
|
||||
{
|
||||
ILFree(pidlLastParsed);
|
||||
pidlLastParsed = NULL;
|
||||
}
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
/*
|
||||
* Attempt to browse to the parsed pidl
|
||||
|
|
Loading…
Reference in a new issue