Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
c6161ac6
Commit
c6161ac6
authored
Oct 31, 2000
by
David Elliott
Committed by
Alexandre Julliard
Oct 31, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
_nt_parse_nk() should not close keys that it does not open.
parent
78767e6d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
registry.c
misc/registry.c
+4
-1
No files found.
misc/registry.c
View file @
c6161ac6
...
...
@@ -746,7 +746,10 @@ static int _nt_parse_nk(HKEY hkey, char * base, nt_nk * nk, int level)
if
(
!
_nt_parse_vk
(
subkey
,
base
,
vk
))
goto
error1
;
}
RegCloseKey
(
subkey
);
/* Don't close the subkey if it is the hkey that was passed
* (i.e. Level was <= 0)
*/
if
(
subkey
!=
hkey
)
RegCloseKey
(
subkey
);
return
TRUE
;
error1:
RegCloseKey
(
subkey
);
...
...
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