From: Mike Gorse Date: Mon, 20 Aug 2012 19:40:43 +0000 (-0500) Subject: When a client is removed, don't continue looking through the list of clients X-Git-Tag: AT_SPI2_ATK_2_12_0~87 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fat-spi2-atk.git;a=commitdiff_plain;h=1d17904fd4ad29a19bee22e0fa715680ba73c93a When a client is removed, don't continue looking through the list of clients https://bugzilla.gnome.org/show_bug.cgi?id=679297 --- diff --git a/atk-adaptor/bridge.c b/atk-adaptor/bridge.c index 3c55d6c..f0dc317 100644 --- a/atk-adaptor/bridge.c +++ b/atk-adaptor/bridge.c @@ -1008,6 +1008,7 @@ spi_atk_remove_client (const char *bus_name) clients = g_slist_delete_link (clients, l); if (!clients) spi_atk_deregister_event_listeners (); + return; } l = next_node;