Unref DBusPendingCall after stealing the message.
Reported by Abhijit Lamsoge.
---
client/dbus_helpers.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/client/dbus_helpers.c b/client/dbus_helpers.c
index d905746..9c4cfee 100644
--- a/client/dbus_helpers.c
+++ b/client/dbus_helpers.c
@@ -145,6 +145,7 @@ static void dbus_method_reply(DBusPendingCall *call, void
*user_data)
__connmanctl_save_rl();
reply = dbus_pending_call_steal_reply(call);
+ dbus_pending_call_unref(call);
if (dbus_message_get_type(reply) == DBUS_MESSAGE_TYPE_ERROR) {
DBusError err;
--
2.1.0
---------------------------------------------------------------------
Intel Finland Oy
Registered Address: PL 281, 00181 Helsinki
Business Identity Code: 0357606 - 4
Domiciled in Helsinki
This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.
_______________________________________________
connman mailing list
[email protected]
https://lists.connman.net/mailman/listinfo/connman