Browse Source

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

pull/20/head
Valentin Radu 5 years ago
parent
commit
4a65e22e14
  1. 1
      ExplorerPatcher/main.c

1
ExplorerPatcher/main.c

@ -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(

Loading…
Cancel
Save