summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdbus/watch.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdbus/watch.c b/gdbus/watch.c
index 75e42103..1d479fac 100644
--- a/gdbus/watch.c
+++ b/gdbus/watch.c
@@ -535,6 +535,8 @@ static void check_service(DBusConnection *connection, const char *name,
dbus_pending_call_set_notify(call, service_reply, data, NULL);
+ dbus_pending_call_unref(call);
+
done:
dbus_message_unref(message);
}