rpms/yelp/devel yelp-2.12.1-doublefree.patch, NONE, 1.1 yelp.spec, 1.33, 1.34

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Mon Oct 17 18:10:02 UTC 2005


Author: mclasen

Update of /cvs/dist/rpms/yelp/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv13069

Modified Files:
	yelp.spec 
Added Files:
	yelp-2.12.1-doublefree.patch 
Log Message:
Fix a doublefree bug


yelp-2.12.1-doublefree.patch:
 yelp-toc-pager.c |    2 --
 1 files changed, 2 deletions(-)

--- NEW FILE yelp-2.12.1-doublefree.patch ---
--- yelp-2.12.1/src/yelp-toc-pager.c.doublefree	2005-10-17 13:44:00.000000000 -0400
+++ yelp-2.12.1/src/yelp-toc-pager.c	2005-10-17 14:00:44.000000000 -0400
@@ -971,11 +971,9 @@
 
     text = (gchar *) yelp_doc_info_get_title (doc_info);
     xmlNewTextChild (new, NULL, "title", text);
-    g_free (text);
 
     text = (gchar *) yelp_doc_info_get_description (doc_info);
     xmlNewTextChild (new, NULL, "description", text);
-    g_free (text);
 }
 
 static void


Index: yelp.spec
===================================================================
RCS file: /cvs/dist/rpms/yelp/devel/yelp.spec,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -r1.33 -r1.34
--- yelp.spec	30 Sep 2005 03:42:56 -0000	1.33
+++ yelp.spec	17 Oct 2005 18:09:58 -0000	1.34
@@ -15,6 +15,8 @@
 Version: 2.12.1
 Release: 1
 Source: %{name}-%{version}.tar.bz2
+# http://bugzilla.gnome.org/show_bug.cgi?id=319096
+Patch0: yelp-2.12.1-doublefree.patch
 License: GPL
 Group: Applications/System
 BuildRoot: %{_tmppath}/%{name}-root
@@ -55,6 +57,7 @@
 
 %prep
 %setup -q
+%patch0 -p1 -b .doublefree
 
 %build
 %configure --with-mozilla=mozilla --disable-man --disable-info --disable-schemas-install
@@ -100,6 +103,9 @@
 %{_datadir}/yelp
 
 %changelog
+* Mon Oct 17 2005 Matthias Clasen <mclasen at redhat.com> - 2.12.1-2
+- Fix a double-free bug
+
 * Thu Sep 29 2005 Matthias Clasen <mclasen at redhat.com> - 2.12.1-1
 - Update to 2.12.1
 




More information about the fedora-cvs-commits mailing list