patch to fix bug # 182694

This commit is contained in:
Seth Vidal 2006-02-24 03:58:26 +00:00
parent 51f83e22c9
commit 2c5f6ea55d

12
illegal_free.patch Normal file
View File

@ -0,0 +1,12 @@
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);