seahorse/illegal_free.patch
2006-02-24 03:58:26 +00:00

13 lines
552 B
Diff

diff -ur seahorse-0.8.orig/libseahorse/seahorse-widget.c seahorse-0.8/libseahorse/seahorse-widget.c
--- seahorse-0.8.orig/libseahorse/seahorse-widget.c 2006-02-23 21:22:13.000000000 -0500
+++ seahorse-0.8/libseahorse/seahorse-widget.c 2006-02-23 21:23:13.000000000 -0500
@@ -129,7 +129,7 @@
if (glade_xml_get_widget (swidget->xml, swidget->name))
gtk_widget_destroy (glade_xml_get_widget (swidget->xml, swidget->name));
- g_free (swidget->xml);
+ g_object_unref (swidget->xml);
swidget->xml = NULL;
g_object_unref (swidget->sctx);