From 1a70ac2c11fa2fb8f00e87a80d54f46dee1c85de Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Thu, 7 Jun 2012 09:55:03 +0000 Subject: AssocMgr working fix git-svn-id: http://svn.miranda-ng.org/main/trunk@352 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/AssocMgr/reg.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/AssocMgr') diff --git a/plugins/AssocMgr/reg.cpp b/plugins/AssocMgr/reg.cpp index 53cee0a90a..089d483c70 100644 --- a/plugins/AssocMgr/reg.cpp +++ b/plugins/AssocMgr/reg.cpp @@ -806,9 +806,9 @@ BOOL RemoveRegClass(const char *pszClassName) if(ptszPrevRunCmd!=NULL && !IsValidRunCommand(ptszPrevRunCmd)) res=DeleteRegSubTree(hRootKey,ptszClassName); /* backup outdated, remove all */ mir_free(ptszPrevRunCmd); /* does NULL check */ - RegCloseKey(hShellKey); + RegCloseKey(hVerbKey); } - RegCloseKey(hVerbKey); + RegCloseKey(hShellKey); } RegCloseKey(hClassKey); } -- cgit v1.2.3