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
15968fad
Commit
15968fad
authored
Oct 07, 2009
by
Marcus Meissner
Committed by
Alexandre Julliard
Oct 07, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wpp: Fixed resource leakages (Coverity).
parent
41db6f85
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
wpp.c
libs/wpp/wpp.c
+4
-0
No files found.
libs/wpp/wpp.c
View file @
15968fad
...
...
@@ -216,12 +216,16 @@ int wpp_parse_temp( const char *input, const char *output_base, char **output_na
if
((
fd
=
mkstemps
(
temp_name
,
0
))
==
-
1
)
{
ppy_error
(
"Could not generate a temp name from %s
\n
"
,
temp_name
);
free
(
temp_name
);
return
2
;
}
if
(
!
(
output
=
fdopen
(
fd
,
"wt"
)))
{
ppy_error
(
"Could not open fd %s for writing
\n
"
,
temp_name
);
close
(
fd
);
unlink
(
temp_name
);
free
(
temp_name
);
return
2
;
}
...
...
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