mirror of
https://github.com/reactos/reactos.git
synced 2024-11-20 06:15:26 +00:00
[MKHIVE]
- Fix return value of RegQueryValueExA svn path=/trunk/; revision=58626
This commit is contained in:
parent
17e1b04d16
commit
703257d67f
1 changed files with 1 additions and 3 deletions
|
@ -562,9 +562,7 @@ RegQueryValueExA(
|
|||
rc = RegQueryValueExW(hKey, lpValueNameW, lpReserved, lpType, lpData, lpcbData);
|
||||
if (lpValueNameW)
|
||||
free(lpValueNameW);
|
||||
if (rc != ERROR_SUCCESS)
|
||||
return rc;
|
||||
return ERROR_UNSUCCESSFUL;
|
||||
return rc;
|
||||
}
|
||||
|
||||
LONG WINAPI
|
||||
|
|
Loading…
Reference in a new issue