[poppler] poppler/glib: poppler-document.cc,1.32,1.33

Jeff Muizelaar jrmuizel at kemper.freedesktop.org
Mon Mar 20 11:12:31 PST 2006


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

Modified Files:
	poppler-document.cc 
Log Message:
2006-03-20  Carlos Garcia Campos  <calosgc at gnome.org>

	reviewed by: Jeff Muizelaar <jeff at infidigm.net>

	* glib/poppler-document.cc: Fix memory leak in poppler_font_info_free


Index: poppler-document.cc
===================================================================
RCS file: /cvs/poppler/poppler/glib/poppler-document.cc,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -d -r1.32 -r1.33
--- poppler-document.cc	28 Feb 2006 18:25:00 -0000	1.32
+++ poppler-document.cc	20 Mar 2006 19:12:29 -0000	1.33
@@ -1169,8 +1169,8 @@
 	g_return_if_fail (font_info != NULL);
 
 	delete font_info->scanner;
-
 	g_object_unref (font_info->document);
+	g_free (font_info);
 }
 
 /**



More information about the poppler mailing list