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
d4b72f3e
Commit
d4b72f3e
authored
Dec 15, 2008
by
Wolfgang Walter
Committed by
Alexandre Julliard
Dec 15, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wineps.drv: Fix freeing of not allocated memory in type42.c.
parent
6fa7b498
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
type42.c
dlls/wineps.drv/type42.c
+1
-1
No files found.
dlls/wineps.drv/type42.c
View file @
d4b72f3e
...
...
@@ -166,7 +166,7 @@ TYPE42 *T42_download_header(PSDRV_PDEVICE *physDev, char *ps_name,
"currentdict end dup /FontName get exch definefont pop
\n
"
;
t42
=
HeapAlloc
(
GetProcessHeap
(),
0
,
sizeof
(
*
t42
));
t42
=
HeapAlloc
(
GetProcessHeap
(),
HEAP_ZERO_MEMORY
,
sizeof
(
*
t42
));
memcpy
(
t42
->
tables
,
tables_templ
,
sizeof
(
tables_templ
));
t42
->
loca_tab
=
t42
->
glyf_tab
=
t42
->
head_tab
=
t42
->
hmtx_tab
=
-
1
;
t42
->
emsize
=
emsize
;
...
...
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