* src/truetype/ttgxvar.c (tt_done_blend): Free `vvar_table'.

Reported as

  https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=883
This commit is contained in:
Werner Lemberg 2017-03-16 20:20:51 +01:00
parent 981c23b75e
commit d9ff6f20ad
2 changed files with 18 additions and 0 deletions

View File

@ -1,3 +1,11 @@
2017-03-16 Werner Lemberg <wl@gnu.org>
* src/truetype/ttgxvar.c (tt_done_blend): Free `vvar_table'.
Reported as
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=883
2017-03-15 Werner Lemberg <wl@gnu.org>
Remove clang compiler warnings (#50548).

View File

@ -3696,6 +3696,16 @@
FT_FREE( blend->hvar_table );
}
if ( blend->vvar_table )
{
ft_var_done_item_variation_store( face,
&blend->vvar_table->itemStore );
FT_FREE( blend->vvar_table->widthMap.innerIndex );
FT_FREE( blend->vvar_table->widthMap.outerIndex );
FT_FREE( blend->vvar_table );
}
if ( blend->mvar_table )
{
ft_var_done_item_variation_store( face,