* src/pcf/pcfread.c (pcf_read_TOC): Avoid memory leak.
This commit is contained in:
parent
facfc79a16
commit
f49a100a6c
@ -1,3 +1,7 @@
|
||||
2014-11-06 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
* src/pcf/pcfread.c (pcf_read_TOC): Avoid memory leak.
|
||||
|
||||
2014-11-03 Infinality <infinality@infinality.net>
|
||||
|
||||
* src/truetype/ttsubpix.c (COMPATIBILITY_MODE_Rules): Updated.
|
||||
|
@ -144,7 +144,10 @@ THE SOFTWARE.
|
||||
|
||||
if ( ( tables[i].size > tables[i + 1].offset ) ||
|
||||
( tables[i].offset > tables[i + 1].offset - tables[i].size ) )
|
||||
return FT_THROW( Invalid_Offset );
|
||||
{
|
||||
error = FT_THROW( Invalid_Offset );
|
||||
goto Exit;
|
||||
}
|
||||
}
|
||||
|
||||
if ( !have_change )
|
||||
|
Loading…
Reference in New Issue
Block a user