summaryrefslogtreecommitdiff
path: root/src/sfnt/sfwoff.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sfnt/sfwoff.c')
-rw-r--r--src/sfnt/sfwoff.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/sfnt/sfwoff.c b/src/sfnt/sfwoff.c
index ca4821a20..c7eaca17f 100644
--- a/src/sfnt/sfwoff.c
+++ b/src/sfnt/sfwoff.c
@@ -371,18 +371,18 @@
sfnt + table->OrigOffset, &output_len,
stream->cursor, table->CompLength );
if ( error )
- goto Exit;
+ goto Exit1;
if ( output_len != table->OrigLength )
{
FT_ERROR(( "woff_font_open: compressed table length mismatch\n" ));
error = FT_THROW( Invalid_Table );
- goto Exit;
+ goto Exit1;
}
#else /* !FT_CONFIG_OPTION_USE_ZLIB */
error = FT_THROW( Unimplemented_Feature );
- goto Exit;
+ goto Exit1;
#endif /* !FT_CONFIG_OPTION_USE_ZLIB */
}
@@ -424,6 +424,10 @@
}
return error;
+
+ Exit1:
+ FT_FRAME_EXIT();
+ goto Exit;
}