diff --git a/ExplorerPatcher/main.c b/ExplorerPatcher/main.c index 193cbfd..3ea6650 100644 --- a/ExplorerPatcher/main.c +++ b/ExplorerPatcher/main.c @@ -109,6 +109,7 @@ int install_uninstall() szReadName, (LPDWORD)(&dwReadBytes) ); + RegCloseKey(hKey); if (!wcscmp(szFileName, szReadName)) { if (RegDeleteValue(