diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/AssocMgr/reg.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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);
}
|