[poppler] poppler/poppler: CairoFontEngine.cc,1.13,1.14

Albert Astals Cid aacid at freedesktop.org
Fri Jul 22 21:01:27 EST 2005


Update of /cvs/poppler/poppler/poppler
In directory gabe:/tmp/cvs-serv20891/poppler

Modified Files:
	CairoFontEngine.cc 
Log Message:
Fix bug #3586


Index: CairoFontEngine.cc
===================================================================
RCS file: /cvs/poppler/poppler/poppler/CairoFontEngine.cc,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- CairoFontEngine.cc	8 Jun 2005 14:35:47 -0000	1.13
+++ CairoFontEngine.cc	22 Jul 2005 11:01:25 -0000	1.14
@@ -229,6 +229,7 @@
 
     if (FT_New_Face(lib, fileName->getCString(), 0, &face)) {
       gfree(codeToGID);
+      codeToGID = NULL;
       error(-1, "could not create cid face\n");
       goto err2;
     }
@@ -270,6 +271,7 @@
 
 CairoFont::~CairoFont() {
   FT_Done_Face (face);
+  gfree(codeToGID);
 }
 
 GBool



More information about the poppler mailing list