[cff] Free table upon error allocating other data (#58609).
* src/cff/cffload.c (cff_index_get_pointers): When new_bytes fails to allocate, make sure to free the table. Do the same for both allocations if there is a later error.GSoC-2020-greg
parent
7438235b42
commit
c8cd139c30
2 changed files with 12 additions and 0 deletions
Loading…
Reference in new issue