atk-adaptor: plug a refcount leak
authorCosimo Cecchi <cosimoc@gnome.org>
Mon, 2 Jul 2012 20:14:48 +0000 (16:14 -0400)
committerCosimo Cecchi <cosimoc@gnome.org>
Thu, 5 Jul 2012 14:20:05 +0000 (10:20 -0400)
https://bugzilla.gnome.org/show_bug.cgi?id=679285

atk-adaptor/event.c

index d19f451..1cbda23 100644 (file)
@@ -1017,6 +1017,7 @@ children_changed_event_listener (GSignalInvocationHint * signal_hint,
                                             detail1);
       emit_event (accessible, ITF_EVENT_OBJECT, name, minor, detail1, detail2,
                   "(so)", ao, append_object);
                                             detail1);
       emit_event (accessible, ITF_EVENT_OBJECT, name, minor, detail1, detail2,
                   "(so)", ao, append_object);
+      g_object_unref (ao);
     }
   else
     {
     }
   else
     {