Lei Zhang : shlwapi: Close registry handles when destroying IQueryAssociations.
Alexandre Julliard
julliard at winehq.org
Mon Oct 13 06:38:56 CDT 2008
Module: wine
Branch: master
Commit: c08ec04d41c101c3fbd4741e8338d29ecae3cbcc
URL: http://source.winehq.org/git/wine.git/?a=commit;h=c08ec04d41c101c3fbd4741e8338d29ecae3cbcc
Author: Lei Zhang <thestig at google.com>
Date: Fri Oct 10 23:34:23 2008 -0700
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);
}
More information about the wine-cvs
mailing list