projects
/
platform
/
core
/
uifw
/
at-spi2-atk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Don't leak pending calls
[platform/core/uifw/at-spi2-atk.git]
/
atk-adaptor
/
bridge.c
diff --git
a/atk-adaptor/bridge.c
b/atk-adaptor/bridge.c
index
a66f0e2
..
99a6a36
100644
(file)
--- 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;
}