Plug leak.

2004-03-17  Morten Welinder  <terra@gnome.org>

	* tests/prop-editor.c (object_changed): Plug leak.
This commit is contained in:
Morten Welinder 2004-03-17 21:38:58 +00:00 committed by Morten Welinder
parent 6cacaf3d15
commit 99aa131ee8
6 changed files with 13 additions and 0 deletions

View File

@ -1,5 +1,7 @@
2004-03-17 Morten Welinder <terra@gnome.org>
* tests/prop-editor.c (object_changed): Plug leak.
* tests/testfilechooser.c (main): Plug some leaks and expose
others.

View File

@ -1,5 +1,7 @@
2004-03-17 Morten Welinder <terra@gnome.org>
* tests/prop-editor.c (object_changed): Plug leak.
* tests/testfilechooser.c (main): Plug some leaks and expose
others.

View File

@ -1,5 +1,7 @@
2004-03-17 Morten Welinder <terra@gnome.org>
* tests/prop-editor.c (object_changed): Plug leak.
* tests/testfilechooser.c (main): Plug some leaks and expose
others.

View File

@ -1,5 +1,7 @@
2004-03-17 Morten Welinder <terra@gnome.org>
* tests/prop-editor.c (object_changed): Plug leak.
* tests/testfilechooser.c (main): Plug some leaks and expose
others.

View File

@ -1,5 +1,7 @@
2004-03-17 Morten Welinder <terra@gnome.org>
* tests/prop-editor.c (object_changed): Plug leak.
* tests/testfilechooser.c (main): Plug some leaks and expose
others.

View File

@ -442,6 +442,9 @@ object_changed (GObject *object, GParamSpec *pspec, gpointer data)
gtk_label_set_text (GTK_LABEL (label), str);
gtk_widget_set_sensitive (button, G_IS_OBJECT (obj));
if (obj)
g_object_unref (obj);
g_free (str);
}