[WINESYNC] reg/tests: Check all error codes in delete_tree() before returning.

Signed-off-by: Hugh McMaster <[email protected]>
Signed-off-by: Alexandre Julliard <[email protected]>

wine commit id 48c73868720606ab62ae089ee3b9c978736bd530 by Hugh McMaster <[email protected]>
This commit is contained in:
winesync
2022-06-19 13:06:38 +02:00
committed by Thomas Csovcsity
parent 2592a360a0
commit 5caeeb0399
2 changed files with 2 additions and 3 deletions
+1 -2
View File
@@ -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;
+1 -1
View File
@@ -4,4 +4,4 @@ directories:
files:
programs/reg/resource.h: base/applications/cmdutils/reg/resource.h
tags:
wine: 45955658e18b65d3af701885e2cfa58bd0c95ceb
wine: 48c73868720606ab62ae089ee3b9c978736bd530