[poppler] poppler/glib: poppler-document.cc,1.36,1.37

Kristian Høgsberg krh at kemper.freedesktop.org
Fri May 19 15:12:40 PDT 2006


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

Modified Files:
	poppler-document.cc 
Log Message:
2006-05-19  Kristian Høgsberg  <krh at redhat.com>

	* glib/poppler-document.cc (poppler_document_save): Memleak patch
	from Paolo Borelli (#6908).



Index: poppler-document.cc
===================================================================
RCS file: /cvs/poppler/poppler/glib/poppler-document.cc,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -d -r1.36 -r1.37
--- poppler-document.cc	19 May 2006 20:54:13 -0000	1.36
+++ poppler-document.cc	19 May 2006 22:12:38 -0000	1.37
@@ -166,6 +166,8 @@
     GooString *fname = new GooString (filename);
 
     retval = document->doc->saveAs (fname);
+
+    delete fname;
   }
 
   return retval;



More information about the poppler mailing list