From: Wiebe Cazemier Date: Mon, 19 Feb 2024 13:20:39 +0000 (+0100) Subject: Document ownership of reference in dbus_connection_send_with_reply() X-Git-Tag: dbus-1.15.10~13^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=da58b2939939303a4ba76a21a620a42317942d8f;p=thirdparty%2Fdbus.git Document ownership of reference in dbus_connection_send_with_reply() Signed-off-by: Wiebe Cazemier --- diff --git a/dbus/dbus-connection.c b/dbus/dbus-connection.c index 13f5085fa..53ca34a8b 100644 --- a/dbus/dbus-connection.c +++ b/dbus/dbus-connection.c @@ -3403,7 +3403,8 @@ reply_handler_timeout (void *data) * @param pending_return return location for a #DBusPendingCall * object, or #NULL if connection is disconnected or when you try to * send Unix file descriptors on a connection that does not support - * them. + * them. The caller owns this reference, and is responsible for calling + * dbus_pending_call_unref() when it is no longer needed. * @param timeout_milliseconds timeout in milliseconds, -1 (or * #DBUS_TIMEOUT_USE_DEFAULT) for default or #DBUS_TIMEOUT_INFINITE for no * timeout