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
d1e02c16
Commit
d1e02c16
authored
Jul 13, 2008
by
Alexander Nicolaysen Sørnes
Committed by
Alexandre Julliard
Jul 14, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
regedit: Add missing fclose on file import.
parent
4ef47776
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
framewnd.c
programs/regedit/framewnd.c
+7
-1
No files found.
programs/regedit/framewnd.c
View file @
d1e02c16
...
...
@@ -313,12 +313,18 @@ static BOOL InitOpenFileName(HWND hWnd, OPENFILENAME *pofn)
static
BOOL
import_registry_filename
(
LPTSTR
filename
)
{
BOOL
Success
;
FILE
*
reg_file
=
fopen
(
filename
,
"r"
);
if
(
!
reg_file
)
return
FALSE
;
return
import_registry_file
(
reg_file
);
Success
=
import_registry_file
(
reg_file
);
if
(
fclose
(
reg_file
)
!=
0
)
Success
=
FALSE
;
return
Success
;
}
static
BOOL
ImportRegistryFile
(
HWND
hWnd
)
...
...
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