shlwapi: Close registry handles when destroying IQueryAssociations.
This commit is contained in:
parent
3684009b6e
commit
c08ec04d41
|
@ -491,6 +491,8 @@ static ULONG WINAPI IQueryAssociations_fnRelease(IQueryAssociations *iface)
|
|||
if (!refCount)
|
||||
{
|
||||
TRACE("Destroying IQueryAssociations (%p)\n", This);
|
||||
RegCloseKey(This->hkeySource);
|
||||
RegCloseKey(This->hkeyProgID);
|
||||
HeapFree(GetProcessHeap(), 0, This);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue