mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 20:59:54 +00:00
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
Block a user