shlwapi: Close registry handles when destroying IQueryAssociations.

This commit is contained in:
Lei Zhang 2008-10-10 23:34:23 -07:00 committed by Alexandre Julliard
parent 3684009b6e
commit c08ec04d41

View File

@ -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);
}