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
a3062530
Commit
a3062530
authored
Aug 08, 2009
by
Marcus Meissner
Committed by
Alexandre Julliard
Aug 10, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fnt2bdf: Fixed 2 resource leaks.
parent
39d4d12c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
fnt2bdf.c
tools/fnt2bdf.c
+5
-2
No files found.
tools/fnt2bdf.c
View file @
a3062530
...
@@ -216,7 +216,10 @@ static int dump_bdf( fnt_fontS* cpe_font_struct, unsigned char* file_buffer)
...
@@ -216,7 +216,10 @@ static int dump_bdf( fnt_fontS* cpe_font_struct, unsigned char* file_buffer)
}
}
ic
=
dump_bdf_hdr
(
fp
,
cpe_font_struct
,
file_buffer
);
ic
=
dump_bdf_hdr
(
fp
,
cpe_font_struct
,
file_buffer
);
if
(
ic
)
return
(
ic
);
if
(
ic
)
{
fclose
(
fp
);
return
(
ic
);
}
/* NOW, convert all chars to UNIX (lton) notation... */
/* NOW, convert all chars to UNIX (lton) notation... */
...
@@ -544,7 +547,7 @@ int main(int argc, char **argv)
...
@@ -544,7 +547,7 @@ int main(int argc, char **argv)
parse_options
(
argc
,
argv
);
parse_options
(
argc
,
argv
);
if
(
(
fd
=
open
(
g_lpstrInputFile
,
O_RDONLY
|
O_BINARY
))
)
if
(
(
fd
=
open
(
g_lpstrInputFile
,
O_RDONLY
|
O_BINARY
))
!=
-
1
)
{
{
int
i
;
int
i
;
struct
stat
file_stat
;
struct
stat
file_stat
;
...
...
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