Fix leak; report and patch supplied by Sebastian Rittau
authorPadraig O'Briain <padraigo@src.gnome.org>
Tue, 1 Oct 2002 10:07:12 +0000 (10:07 +0000)
committerPadraig O'Briain <padraigo@src.gnome.org>
Tue, 1 Oct 2002 10:07:12 +0000 (10:07 +0000)
* atk/atkobject.c (atk_object_notify): Fix leak; report and patch
supplied by Sebastian Rittau (srittau@jroger.in-berlin.de)

Bug #94548.

ChangeLog
atk/atkobject.c

index 2f95c7fe5ebf780acce74badc6f83ebbba78f5f8..b1198d048357907de58f66d09a3777ee37a5d936 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2002-10-01  Padraig O'Briain  <padraig.obriain@sun.com>
+
+       * atk/atkobject.c (atk_object_notify): Fix leak; report and patch
+       supplied by Sebastian Rittau (srittau@jroger.in-berlin.de)
+
+       Bug #94548.
+
 2002-09-24  Padraig O'Briain  <padraig.obriain@sun.com>
 
        * ===== Released 1.1.0 =====
index 1cc092a934f361bffd6a585b2a8aa1a7322b3875..bb2b11006c947202edb80f17bc26458da8b48f2a 100755 (executable)
@@ -1098,6 +1098,7 @@ atk_object_notify (GObject     *obj,
   g_signal_emit (obj, atk_object_signals[PROPERTY_CHANGE],
                  g_quark_from_string (pspec->name),
                  &values, NULL);
+  g_value_unset (&values.new_value);
 }
 
 /**