X-Git-Url: https://git.reactos.org/?p=reactos.git;a=blobdiff_plain;f=reactos%2Fdll%2Fwin32%2Fshlwapi%2Freg.c;h=9f652c9df928fa5536d4063bab07284a29b5be4c;hp=c6fa2c7e84d6e845f0205c12eb273e10f8c55b64;hb=b0bec1e9969a7aaf186645ac4f94f4c1fbcc9dee;hpb=f0c623ad45a0d8cefe8d59dc58f47a6b48a95b6f diff --git a/reactos/dll/win32/shlwapi/reg.c b/reactos/dll/win32/shlwapi/reg.c index c6fa2c7e84d..9f652c9df92 100644 --- a/reactos/dll/win32/shlwapi/reg.c +++ b/reactos/dll/win32/shlwapi/reg.c @@ -200,7 +200,7 @@ LONG WINAPI SHRegCloseUSKey( if (hKey->HKLMkey) ret = RegCloseKey(hKey->HKLMkey); if (hKey->HKLMstart && hKey->HKLMstart != HKEY_LOCAL_MACHINE) - ret = RegCloseKey(hKey->HKCUstart); + ret = RegCloseKey(hKey->HKLMstart); HeapFree(GetProcessHeap(), 0, hKey); return ret;