]> git.wh0rd.org - fontconfig.git/blobdiff - src/fcfreetype.c
Takashi Iwai <tiwai@suse.de> reviewed by: plam
[fontconfig.git] / src / fcfreetype.c
index e3c5ef23168c1dae2e68c460e527a1d920d9c06a..5a5ab6d291fb93ac18204f75c0cd1bf00df4ac81 100644 (file)
@@ -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;
 }