1
0
mirror of https://github.com/valinet/ExplorerPatcher.git synced 2024-11-23 23:21:08 +01:00

Bug fix: Registry key is now closed when installing/uninstalling.

This commit is contained in:
Valentin Radu 2021-08-13 03:34:06 +03:00
parent 256008981f
commit 4a65e22e14

View File

@ -109,6 +109,7 @@ int install_uninstall()
szReadName, szReadName,
(LPDWORD)(&dwReadBytes) (LPDWORD)(&dwReadBytes)
); );
RegCloseKey(hKey);
if (!wcscmp(szFileName, szReadName)) if (!wcscmp(szFileName, szReadName))
{ {
if (RegDeleteValue( if (RegDeleteValue(