diff options
author | Luiz Augusto von Dentz <luiz.dentz@openbossa.org> | 2007-04-19 17:48:23 +0000 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.dentz@openbossa.org> | 2007-04-19 17:48:23 +0000 |
commit | cc8d980b559908480979eac0f4d33957fce70727 (patch) | |
tree | 4be75497b342fc78889fd62a5128d4fc514c9c12 /network/manager.c | |
parent | c506053c991016d372948a912201fdc8b03d175f (diff) |
Unref pending calls.
Diffstat (limited to 'network/manager.c')
-rw-r--r-- | network/manager.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/network/manager.c b/network/manager.c index 95699d39..898a183b 100644 --- a/network/manager.c +++ b/network/manager.c @@ -291,6 +291,7 @@ static int get_record(struct pending_reply *pr, uint32_t handle, dbus_pending_call_set_notify(pending, cb, pr, NULL); dbus_message_unref(msg); + dbus_pending_call_unref(pending); return 0; } @@ -367,6 +368,7 @@ static int get_handles(struct pending_reply *pr, dbus_pending_call_set_notify(pending, cb, pr, NULL); dbus_message_unref(msg); + dbus_pending_call_unref(pending); return 0; } |