https://git.reactos.org/?p=reactos.git;a=commitdiff;h=5caeeb0399969f36b4370…
commit 5caeeb0399969f36b43700e307bbff43894b38b8
Author: winesync <ros-dev(a)reactos.org>
AuthorDate: Mon Jan 17 18:47:37 2022 +0100
Commit: Thomas Csovcsity <thc.fr13nd(a)gmail.com>
CommitDate: Sun Jun 19 13:06:38 2022 +0200
[WINESYNC] reg/tests: Check all error codes in delete_tree() before returning.
Signed-off-by: Hugh McMaster <hugh.mcmaster(a)outlook.com>
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
wine commit id 48c73868720606ab62ae089ee3b9c978736bd530 by Hugh McMaster
<hugh.mcmaster(a)outlook.com>
---
modules/rostests/winetests/reg/add.c | 3 +--
sdk/tools/winesync/reg.cfg | 2 +-
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/modules/rostests/winetests/reg/add.c b/modules/rostests/winetests/reg/add.c
index 2c1a2cf35e3..1be34602408 100644
--- a/modules/rostests/winetests/reg/add.c
+++ b/modules/rostests/winetests/reg/add.c
@@ -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;
diff --git a/sdk/tools/winesync/reg.cfg b/sdk/tools/winesync/reg.cfg
index 3c5790ae82d..e1bdad26147 100644
--- a/sdk/tools/winesync/reg.cfg
+++ b/sdk/tools/winesync/reg.cfg
@@ -4,4 +4,4 @@ directories:
files:
programs/reg/resource.h: base/applications/cmdutils/reg/resource.h
tags:
- wine: 45955658e18b65d3af701885e2cfa58bd0c95ceb
+ wine: 48c73868720606ab62ae089ee3b9c978736bd530