commit | c8cd139c3025f6371974c8aecfe3a393dd5ad994 | [log] [tgz] |
---|---|---|
author | Sebastian Rasmussen <sebras@gmail.com> | Thu Jun 18 13:46:37 2020 +0800 |
committer | Werner Lemberg <wl@gnu.org> | Fri Jun 19 03:37:32 2020 +0200 |
tree | f11bbec8f0943751fcea966f2df5604d6443451e | |
parent | 7438235b42e9d425888c68519d1e05dd2b69fff7 [diff] |
[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.