From 4a65e22e14bec43d72ce361d315f0f825cf4fa14 Mon Sep 17 00:00:00 2001 From: Valentin Radu Date: Fri, 13 Aug 2021 03:34:06 +0300 Subject: [PATCH] Bug fix: Registry key is now closed when installing/uninstalling. --- ExplorerPatcher/main.c | 1 + 1 file changed, 1 insertion(+) 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(