shithub: freetype+ttf2subf

Download patch

ref: 658f26394983864d07fb4792d90578ff7f11d0f0
parent: ef512e3ec62d21049d2c1f6983887e6534ca5b14
author: Werner Lemberg <[email protected]>
date: Sat Jan 24 10:06:57 EST 2004

* src/cff/cffload.c (cff_subfont_load): Initialize `dict'.

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2004-01-22  Garrick Meeker  <[email protected]>
+
+	* src/cff/cffload.c (cff_subfont_load): Initialize `dict'.
+
 2004-01-22  Werner Lemberg  <[email protected]>
 
 	Add support for the hexadicimal representation of binary data
--- a/src/cff/cffload.c
+++ b/src/cff/cffload.c
@@ -1972,7 +1972,7 @@
   {
     FT_Error         error;
     CFF_ParserRec    parser;
-    FT_Byte*         dict;
+    FT_Byte*         dict = NULL;
     FT_ULong         dict_len;
     CFF_FontRecDict  top  = &font->font_dict;
     CFF_Private      priv = &font->private_dict;