wineps.drv: Fix freeing of not allocated memory in type42.c.

This commit is contained in:
Wolfgang Walter 2008-12-15 10:57:13 +01:00 committed by Alexandre Julliard
parent 6fa7b49825
commit d4b72f3e10
1 changed files with 1 additions and 1 deletions

View File

@ -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;