[sfnt] Fix Savannah bug #37936.
* src/sfnt/ttload.c (tt_face_load_gasp): Avoid memory leak.
This commit is contained in:
parent
8ac5c5c8a5
commit
309b8b31e0
|
@ -1,3 +1,9 @@
|
|||
2012-12-16 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
[sfnt] Fix Savannah bug #37936.
|
||||
|
||||
* src/sfnt/ttload.c (tt_face_load_gasp): Avoid memory leak.
|
||||
|
||||
2012-12-15 Alexei Podtelezhnikov <apodtele@gmail.com>
|
||||
|
||||
[base] Fix 11-year old bug.
|
||||
|
@ -705,7 +711,7 @@
|
|||
|
||||
Revert the last commit 45337b07.
|
||||
|
||||
* src/base/ftstroke.c (FT_Stroker_New): Revert the previous chenge.
|
||||
* src/base/ftstroke.c (FT_Stroker_New): Revert the previous change.
|
||||
|
||||
2012-07-11 Alexei Podtelezhnikov <apodtele@gmail.com>
|
||||
|
||||
|
|
|
@ -1242,11 +1242,11 @@
|
|||
num_ranges = face->gasp.numRanges;
|
||||
FT_TRACE3(( "numRanges: %u\n", num_ranges ));
|
||||
|
||||
if ( FT_QNEW_ARRAY( gaspranges, num_ranges ) ||
|
||||
FT_FRAME_ENTER( num_ranges * 4L ) )
|
||||
if ( FT_QNEW_ARRAY( face->gasp.gaspRanges, num_ranges ) ||
|
||||
FT_FRAME_ENTER( num_ranges * 4L ) )
|
||||
goto Exit;
|
||||
|
||||
face->gasp.gaspRanges = gaspranges;
|
||||
gaspranges = face->gasp.gaspRanges;
|
||||
|
||||
for ( j = 0; j < num_ranges; j++ )
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue