[poppler] poppler/poppler: Gfx.cc,1.14.2.1,1.14.2.2

Albert Astals Cid aacid at kemper.freedesktop.org
Fri Apr 6 09:49:43 PDT 2007


Update of /cvs/poppler/poppler/poppler
In directory kemper:/tmp/cvs-serv7699

Modified Files:
      Tag: xpdf302merge
	Gfx.cc 
Log Message:
Problems found by Jeff


Index: Gfx.cc
===================================================================
RCS file: /cvs/poppler/poppler/poppler/Gfx.cc,v
retrieving revision 1.14.2.1
retrieving revision 1.14.2.2
diff -u -d -r1.14.2.1 -r1.14.2.2
--- Gfx.cc	6 Apr 2007 14:22:23 -0000	1.14.2.1
+++ Gfx.cc	6 Apr 2007 16:49:41 -0000	1.14.2.2
@@ -1456,8 +1456,8 @@
     //error(getPos(), "No path in closepath/stroke");
     return;
   }
+  state->closePath();
   if (state->isPath()) {
-    state->closePath();
     if (state->getStrokeColorSpace()->getMode() == csPattern) {
       doPatternStroke();
     } else {
@@ -3953,7 +3953,6 @@
 	break;
       }
       dict.dictAdd(key, &obj);
-      gfree(key);
     }
     parser->getObj(&obj);
   }



More information about the poppler mailing list