Takashi Iwai <tiwai@suse.de> reviewed by: plam
Fix double-free on error case.
This commit is contained in:
parent
cf5cf4cadb
commit
0cfaf27e33
|
@ -1,3 +1,11 @@
|
|||
2006-02-24 Mike Fabian <mfabian@suse.de>
|
||||
Takashi Iwai <tiwai@suse.de>
|
||||
reviewed by: plam
|
||||
|
||||
* src/fcfreetype.c (GetScriptTags):
|
||||
|
||||
Fix double-free on error case.
|
||||
|
||||
2006-02-21 Patrick Lam <plam@mit.edu>
|
||||
* fc-lang/fc-lang.c (scan):
|
||||
|
||||
|
|
|
@ -2823,6 +2823,7 @@ GetScriptTags(FT_Face face, FT_ULong tabletag, FT_ULong **stags, FT_UShort *scri
|
|||
Fail:
|
||||
*script_count = 0;
|
||||
ftglue_free( memory, *stags );
|
||||
*stags = NULL;
|
||||
return error;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue