diff options
author | suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp> | 2010-10-01 08:15:55 +0200 |
---|---|---|
committer | Werner Lemberg <wl@gnu.org> | 2010-10-01 08:15:55 +0200 |
commit | 5edc2f339a84348effeae8db7d32fe3a96ff6d84 (patch) | |
tree | a224b7d8a53abc69c21a1e4ecec1745ed30cc69f /src | |
parent | 3343ecd82eaa37d787ef0d06f808bff16536f98b (diff) |
Fix Savannah bug #31040.
* src/truetype/ttinterp.c (free_buffer_in_size): Remove.
(TT_RunIns): Updated.
Diffstat (limited to 'src')
-rw-r--r-- | src/truetype/ttinterp.c | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/src/truetype/ttinterp.c b/src/truetype/ttinterp.c index f1b7ac35..bf9189c3 100644 --- a/src/truetype/ttinterp.c +++ b/src/truetype/ttinterp.c @@ -7361,38 +7361,6 @@ #endif /* !TT_CONFIG_OPTION_INTERPRETER_SWITCH */ - static void - free_buffer_in_size( TT_ExecContext exc ) - { - FT_Memory memory = exc->memory; - TT_Size size = exc->size; - - - if ( !size ) - return; - - if ( size->function_defs ) - FT_FREE( size->function_defs ); - if ( size->instruction_defs ) - FT_FREE( size->instruction_defs ); - if ( size->cvt ) - FT_FREE( size->cvt ); - if ( size->storage ) - FT_FREE( size->storage ); - - if ( size->twilight.org ) - FT_FREE( size->twilight.org ); - if ( size->twilight.cur ) - FT_FREE( size->twilight.cur ); - if ( size->twilight.orus ) - FT_FREE( size->twilight.orus ); - if ( size->twilight.tags ) - FT_FREE( size->twilight.tags ); - if ( size->twilight.contours ) - FT_FREE( size->twilight.contours ); - } - - /*************************************************************************/ /* */ /* RUN */ @@ -8165,10 +8133,7 @@ if ( CUR.error && !CUR.instruction_trap ) { FT_TRACE1(( " The interpreter returned error 0x%x\n", CUR.error )); - free_buffer_in_size( exc ); - exc->size->cvt_ready = FALSE; - exc->size->bytecode_ready = FALSE; } return CUR.error; |