shithub: freetype+ttf2subf

Download patch

ref: f56691a852139bd918263f316dcfe2048bfdb949
parent: 67cf7a8841b0bbf6aa3085216fcb5ba7340473ca
author: Werner Lemberg <[email protected]>
date: Tue Jun 18 06:17:48 EDT 2013

Fix Savannah bug #39269.

* src/base/ftgloadr.c (FT_GlyphLoader_CheckPoints): Free memory in
case of reacollocation failures.

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2013-06-18  Werner Lemberg  <[email protected]>
+
+	Fix Savannah bug #39269.
+
+	* src/base/ftgloadr.c (FT_GlyphLoader_CheckPoints): Free memory in
+	case of reacollocation failures.
+
 2013-06-18  Andrew Church  <[email protected]>
 
 	Fix Savannah bug #39266.
--- a/src/base/ftgloadr.c
+++ b/src/base/ftgloadr.c
@@ -265,6 +265,9 @@
       FT_GlyphLoader_Adjust_Points( loader );
 
   Exit:
+    if ( error )
+      FT_GlyphLoader_Reset( loader );
+
     return error;
   }