]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
sd-bus: Clarify sd_bus_list_names results ownership 15519/head
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Wed, 22 Apr 2020 06:00:25 +0000 (08:00 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Wed, 22 Apr 2020 06:42:50 +0000 (08:42 +0200)
man/sd_bus_list_names.xml

index d1aba6ef522b651c8ba69073c12cfdb9403245d1..ad7ecd00e3d373358c3ec6fd44e291280002570b 100644 (file)
     <parameter>acquired</parameter> is not <constant>NULL</constant>, the function calls
     <ulink url="https://dbus.freedesktop.org/doc/dbus-specification.html#bus-messages-list-activatable-names">
     org.freedesktop.DBus.ListActivableNames</ulink> to retrieve the list of all names on the bus that can be
-    activated. Note that ownership of any string arrays returned by <function>sd_bus_list_names()</function>
-    is transferred to the caller and hence, the caller is responsible for freeing any results stored by
-    <function>sd_bus_list_names()</function> in <parameter>acquired</parameter> and
-    <parameter>activatable</parameter>.</para>
+    activated. Note that ownership of the arrays returned by <function>sd_bus_list_names()</function> in
+    <parameter>acquired</parameter> and <parameter>activatable</parameter> is transferred to the caller and
+    hence, the caller is responsible for freeing these arrays and their contents.</para>
   </refsect1>
 
   <refsect1>