You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
libglade2/unref.patch

13 lines
526 B

17 years ago
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;
}