mirror of https://github.com/freetype/freetype
* src/autofit/hbshim.c (af_get_coverage): Fix memory leaks.
This commit is contained in:
parent
aae0f1aff4
commit
ff8dc315d1
|
@ -1,3 +1,7 @@
|
|||
2014-01-22 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
* src/autofit/hbshim.c (af_get_coverage): Fix memory leaks.
|
||||
|
||||
2014-01-16 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
[autofit] Improve tracing of style coverages.
|
||||
|
|
|
@ -168,7 +168,7 @@
|
|||
gsub_lookups );
|
||||
|
||||
if ( hb_set_is_empty( gsub_lookups ) )
|
||||
return FT_Err_Ok; /* nothing to do */
|
||||
goto Exit; /* nothing to do */
|
||||
|
||||
hb_ot_layout_collect_lookups( face,
|
||||
HB_OT_TAG_GPOS,
|
||||
|
@ -282,7 +282,7 @@
|
|||
if ( !found )
|
||||
{
|
||||
FT_TRACE4(( " no blue characters found; style skipped\n" ));
|
||||
return FT_Err_Ok;
|
||||
goto Exit;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -360,6 +360,7 @@
|
|||
FT_TRACE4(( "\n\n" ));
|
||||
#endif
|
||||
|
||||
Exit:
|
||||
hb_set_destroy( gsub_lookups );
|
||||
hb_set_destroy( gsub_glyphs );
|
||||
hb_set_destroy( gpos_lookups );
|
||||
|
|
Loading…
Reference in New Issue