[poppler] poppler/qt4/src: poppler-document.cc, 1.33, 1.34 poppler-private.h, 1.24, 1.25

Albert Astals Cid aacid at kemper.freedesktop.org
Wed Apr 25 14:25:08 PDT 2007


Update of /cvs/poppler/poppler/qt4/src
In directory kemper:/tmp/cvs-serv17240/qt4/src

Modified Files:
	poppler-document.cc poppler-private.h 
Log Message:
2007-04-25  Albert Astals Cid <aacid at kde.org>

        * qt4/src/poppler-document.cc: remove a delete[] no longer needed
        * qt4/src/poppler-private: initilize m_hints



Index: poppler-document.cc
===================================================================
RCS file: /cvs/poppler/poppler/qt4/src/poppler-document.cc,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -d -r1.33 -r1.34
--- poppler-document.cc	25 Apr 2007 19:59:10 -0000	1.33
+++ poppler-document.cc	25 Apr 2007 21:25:06 -0000	1.34
@@ -303,7 +303,6 @@
 	{
 	    char *aux = obj.getString()->getCString();
 	    result = Poppler::convertDate(aux);
-	    delete[] aux;
 	}
 	obj.free();
 	info.free();

Index: poppler-private.h
===================================================================
RCS file: /cvs/poppler/poppler/qt4/src/poppler-private.h,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -d -r1.24 -r1.25
--- poppler-private.h	25 Apr 2007 19:59:10 -0000	1.24
+++ poppler-private.h	25 Apr 2007 21:25:06 -0000	1.25
@@ -124,6 +124,7 @@
 		m_backend = Document::SplashBackend;
 		m_outputDev = 0;
 		paperColor = Qt::white;
+		m_hints = 0;
 		// It might be more appropriate to delete these in PDFDoc
 		delete ownerPassword;
 		delete userPassword;



More information about the poppler mailing list