mirror of
https://github.com/reactos/reactos.git
synced 2024-06-01 02:01:57 +00:00
[WINESYNC] reg/tests: Check all error codes in delete_tree() before returning.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org> wine commit id 48c73868720606ab62ae089ee3b9c978736bd530 by Hugh McMaster <hugh.mcmaster@outlook.com>
This commit is contained in:
parent
2592a360a0
commit
5caeeb0399
|
@ -194,9 +194,8 @@ LONG delete_tree_(const char *file, unsigned line, HKEY root, const char *path,
|
|||
else
|
||||
ret = RegDeleteKeyExA(hkey, empty, sam, 0);
|
||||
|
||||
lok(!ret, "Failed to delete registry key, got error %d\n", ret);
|
||||
|
||||
cleanup:
|
||||
lok(!ret, "Failed to delete registry key, got error %d\n", ret);
|
||||
HeapFree(GetProcessHeap(), 0, subkey_name);
|
||||
RegCloseKey(hkey);
|
||||
return ret;
|
||||
|
|
|
@ -4,4 +4,4 @@ directories:
|
|||
files:
|
||||
programs/reg/resource.h: base/applications/cmdutils/reg/resource.h
|
||||
tags:
|
||||
wine: 45955658e18b65d3af701885e2cfa58bd0c95ceb
|
||||
wine: 48c73868720606ab62ae089ee3b9c978736bd530
|
||||
|
|
Loading…
Reference in a new issue