From ec7088207faf91e160767c11550462c0f942fa11 Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Fri, 10 Oct 2008 23:34:23 -0700 Subject: [PATCH 4/4] shlwapi: Close registry handles when destroying IQueryAssociations. --- dlls/shlwapi/assoc.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/dlls/shlwapi/assoc.c b/dlls/shlwapi/assoc.c index 8ef6da2..0d8baa0 100644 --- a/dlls/shlwapi/assoc.c +++ b/dlls/shlwapi/assoc.c @@ -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); } -- 1.5.4.5