shithub: freetype+ttf2subf

Download patch

ref: 5be28b0d8cd069d24801415e18d2bca26472e800
parent: 7925edcef4d53c272ef60bc8e7ae631409b6190e
author: Werner Lemberg <[email protected]>
date: Sun Jun 2 08:11:48 EDT 2002

* src/pfr/pfrload.c (pfr_phy_font_done): Free `blue_values' array.

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2002-06-02  Detlef W�rkner  <[email protected]>
+
+	* src/pfr/pfrload.c (pfr_phy_font_done): Free `blue_values' array.
+
 2002-05-29  Detlef W�rkner  <[email protected]>
 
 	* src/bdf/bdflib.c (_bdf_readstream): Allocate `buf' dynamically.
--- a/src/pfr/pfrload.c
+++ b/src/pfr/pfrload.c
@@ -530,6 +530,9 @@
     FT_FREE( phy_font->chars );
     phy_font->num_chars    = 0;
     phy_font->chars_offset = 0;
+
+    FT_FREE( phy_font->blue_values );
+    phy_font->num_blue_values = 0;
   }