diff options
author | William Jon McCann <jmccann@redhat.com> | 2012-09-14 17:29:10 -0400 |
---|---|---|
committer | Mike Gorse <mgorse@suse.com> | 2012-09-17 18:18:31 -0500 |
commit | e1015608a0f79178be66220f17d1af5fab030bfa (patch) | |
tree | cb1c3758d9b868b6a083783294bd057c697a18f8 | |
parent | 5431ebbe7f471a01014236100ec803631dc3941b (diff) | |
download | at-spi2-atk-e1015608a0f79178be66220f17d1af5fab030bfa.tar.gz |
Don't leak pending calls
https://bugzilla.gnome.org/show_bug.cgi?id=684077
-rw-r--r-- | atk-adaptor/bridge.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/atk-adaptor/bridge.c b/atk-adaptor/bridge.c index a66f0e2..99a6a36 100644 --- a/atk-adaptor/bridge.c +++ b/atk-adaptor/bridge.c @@ -291,6 +291,9 @@ register_application (SpiBridge * app) if (!dbus_connection_send_with_reply (app->bus, message, &pending, -1) || !pending) { + if (pending) + dbus_pending_call_unref (pending); + dbus_message_unref (message); return FALSE; } |