diff options
-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; } |