rpms/libglade2/devel unref.patch,NONE,1.1 libglade2.spec,1.31,1.32
Matthias Clasen (mclasen)
fedora-extras-commits at redhat.com
Wed Feb 20 03:04:10 UTC 2008
Author: mclasen
Update of /cvs/extras/rpms/libglade2/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv16527
Modified Files:
libglade2.spec
Added Files:
unref.patch
Log Message:
Fix a crash
unref.patch:
--- NEW FILE unref.patch ---
diff -up libglade-2.6.2/glade/glade-xml.c.unref libglade-2.6.2/glade/glade-xml.c
--- libglade-2.6.2/glade/glade-xml.c.unref 2008-02-19 21:59:52.000000000 -0500
+++ libglade-2.6.2/glade/glade-xml.c 2008-02-19 22:00:10.000000000 -0500
@@ -256,7 +256,7 @@ glade_xml_new_from_buffer(const char *bu
if( !glade_xml_construct_from_buffer(self, buffer, size, root, domain) )
{
/* Clean up, the parser was unable to load the object */
- g_free(self);
+ g_object_unref(self);
return NULL;
}
Index: libglade2.spec
===================================================================
RCS file: /cvs/extras/rpms/libglade2/devel/libglade2.spec,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -r1.31 -r1.32
--- libglade2.spec 9 Feb 2008 05:04:04 -0000 1.31
+++ libglade2.spec 20 Feb 2008 03:03:34 -0000 1.32
@@ -5,7 +5,7 @@
Summary: The libglade library for loading user interfaces
Name: libglade2
Version: 2.6.2
-Release: 4%{?dist}
+Release: 5%{?dist}
License: LGPLv2+
Group: System Environment/Libraries
Source: http://download.gnome.org/sources/libglade/2.6/libglade-%{version}.tar.bz2
@@ -23,6 +23,9 @@
# http://bugzilla.gnome.org/show_bug.cgi?id=121025
Patch1: libglade-2.0.1-nowarning.patch
+# fixed in upstream svn
+Patch2: unref.patch
+
%description
Libglade is a small library that allows a program to load its user
interface from am XML description at runtime. Libglade uses the XML
@@ -52,6 +55,7 @@
%setup -q -n libglade-%{version}
%patch1 -p1 -b .nowarning
+%patch2 -p1 -b .unref
%build
%configure --disable-gtk-doc
@@ -86,6 +90,9 @@
%{_datadir}/gtk-doc/html/libglade
%changelog
+* Tue Feb 19 2008 Matthias Clasen <mclasen at redhat.com> 2.6.2-5
+- Fix a crash
+
* Sat Feb 9 2008 Matthias Clasen <mclasen at redhat.com> 2.6.2-4
- Rebuild for gcc 4.3
More information about the fedora-extras-commits
mailing list