Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
48c73868
Commit
48c73868
authored
Jul 02, 2021
by
Hugh McMaster
Committed by
Alexandre Julliard
Jul 02, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
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
>
parent
be6295ab
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
add.c
programs/reg/tests/add.c
+1
-2
No files found.
programs/reg/tests/add.c
View file @
48c73868
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment