Commit f8a17f32 authored by Patrick Lam's avatar Patrick Lam
Browse files

Fix memory leak in error condition code.

parent 5657098e
2006-02-13 Patrick Lam <plam@mit.edu>
* src/fcfreetype.c (FcFreeTypeQuery):
Fix memory leak in error condition code.
2006-02-13 Mike Fabian <mfabian@suse.de>
reviewed by: plam
* src/fcfreetype.c (FcFreeTypeQuery):
......
......@@ -1600,9 +1600,9 @@ FcFreeTypeQuery (const FcChar8 *file,
for (i = 0; i < face->num_fixed_sizes; i++)
if (!FcPatternAddDouble (pat, FC_PIXEL_SIZE,
FcGetPixelSize (face, i)))
goto bail1;
goto bail2;
if (!FcPatternAddBool (pat, FC_ANTIALIAS, FcFalse))
goto bail1;
goto bail2;
#if HAVE_FT_GET_BDF_PROPERTY
if(face->num_fixed_sizes == 1) {
int rc;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment