[truetype] Prevent memory leak for buggy fonts.
* src/truetype/ttobjs.c (tt_size_done): Unconditionally call `tt_size_done_bytecode'.
This commit is contained in:
parent
5018477f4e
commit
66883b5808
|
@ -1,3 +1,10 @@
|
||||||
|
2014-12-07 Werner Lemberg <wl@gnu.org>
|
||||||
|
|
||||||
|
[truetype] Prevent memory leak for buggy fonts.
|
||||||
|
|
||||||
|
* src/truetype/ttobjs.c (tt_size_done): Unconditionally call
|
||||||
|
`tt_size_done_bytecode'.
|
||||||
|
|
||||||
2014-12-06 Werner Lemberg <wl@gnu.org>
|
2014-12-06 Werner Lemberg <wl@gnu.org>
|
||||||
|
|
||||||
* Version 2.5.4 released.
|
* Version 2.5.4 released.
|
||||||
|
|
|
@ -1146,8 +1146,7 @@
|
||||||
|
|
||||||
|
|
||||||
#ifdef TT_USE_BYTECODE_INTERPRETER
|
#ifdef TT_USE_BYTECODE_INTERPRETER
|
||||||
if ( size->bytecode_ready >= 0 )
|
tt_size_done_bytecode( ttsize );
|
||||||
tt_size_done_bytecode( ttsize );
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
size->ttmetrics.valid = FALSE;
|
size->ttmetrics.valid = FALSE;
|
||||||
|
|
Loading…
Reference in New Issue