diff options
author | Patrick Lam <plam@MIT.EDU> | 2006-02-13 22:19:30 +0000 |
---|---|---|
committer | Patrick Lam <plam@MIT.EDU> | 2006-02-13 22:19:30 +0000 |
commit | f8a17f329815cfa5416142811b96d16f2a5cca93 (patch) | |
tree | 0cd52eaf50d711f9462cc8e20564426cdc9a8002 /src | |
parent | 5657098e2940652065fcfd00e4cf2771d7df21ef (diff) |
Fix memory leak in error condition code.
Diffstat (limited to 'src')
-rw-r--r-- | src/fcfreetype.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fcfreetype.c b/src/fcfreetype.c index 9dc45fc3..cc73f5ce 100644 --- a/src/fcfreetype.c +++ b/src/fcfreetype.c @@ -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; |