sd-bus: Cite sd_bus_creds_unref in sd_bus_get_name_creds docs

This commit is contained in:
Daan De Meyer 2020-04-24 18:45:15 +02:00 committed by Zbigniew Jędrzejewski-Szmek
parent af5654d35c
commit 7b679a188e

View file

@ -54,7 +54,8 @@
for a list of possible flags. On success, <parameter>creds</parameter> contains a new for a list of possible flags. On success, <parameter>creds</parameter> contains a new
<structname>sd_bus_creds</structname> instance with the requested information. Ownership of this instance <structname>sd_bus_creds</structname> instance with the requested information. Ownership of this instance
belongs to the caller and it should be freed once no longer needed by calling belongs to the caller and it should be freed once no longer needed by calling
<function>sd_bus_creds_unref()</function>.</para> <citerefentry><refentrytitle>sd_bus_creds_unref</refentrytitle><manvolnum>3</manvolnum></citerefentry>.
</para>
<para><function>sd_bus_get_owner_creds()</function> queries the credentials of the creator of the given <para><function>sd_bus_get_owner_creds()</function> queries the credentials of the creator of the given
bus. The <parameter>mask</parameter> and <parameter>creds</parameter> parameters behave the same as in bus. The <parameter>mask</parameter> and <parameter>creds</parameter> parameters behave the same as in
@ -113,8 +114,8 @@
<para> <para>
<citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>, <citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
<citerefentry><refentrytitle>sd-bus</refentrytitle><manvolnum>3</manvolnum></citerefentry> <citerefentry><refentrytitle>sd-bus</refentrytitle><manvolnum>3</manvolnum></citerefentry>,
<citerefentry><refentrytitle>sd_bus_creds_unref</refentrytitle><manvolnum>3</manvolnum></citerefentry>
</para> </para>
</refsect1> </refsect1>
</refentry> </refentry>