forked from AuroraMiddleware/gtk
Plug leak.
2004-03-17 Morten Welinder <terra@gnome.org> * tests/prop-editor.c (object_changed): Plug leak.
This commit is contained in:
parent
6cacaf3d15
commit
99aa131ee8
@ -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.
|
||||
|
||||
|
@ -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.
|
||||
|
||||
|
@ -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.
|
||||
|
||||
|
@ -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.
|
||||
|
||||
|
@ -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.
|
||||
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user