[poppler] poppler/glib: poppler-page.cc,1.43,1.44

Jeff Muizelaar jrmuizel at kemper.freedesktop.org
Mon Mar 20 20:19:21 PST 2006


Update of /cvs/poppler/poppler/glib
In directory kemper:/tmp/cvs-serv3297/glib

Modified Files:
	poppler-page.cc 
Log Message:
2006-03-20  Jeff Muizelaar  <jeff at infidigm.net>

	* glib/poppler-page.cc: Fix memory leak in poppler_page_get_text
	Patch by chpe.


Index: poppler-page.cc
===================================================================
RCS file: /cvs/poppler/poppler/glib/poppler-page.cc,v
retrieving revision 1.43
retrieving revision 1.44
diff -u -d -r1.43 -r1.44
--- poppler-page.cc	28 Feb 2006 18:25:00 -0000	1.43
+++ poppler-page.cc	21 Mar 2006 04:19:19 -0000	1.44
@@ -630,7 +630,7 @@
 {
   TextOutputDev *text_dev;
   PDFDoc *doc;
-  GooString *sel_text = new GooString;
+  GooString *sel_text;
   double height, y1, y2;
   char *result;
   PDFRectangle pdf_selection;



More information about the poppler mailing list