From: Daan De Meyer Date: Wed, 22 Apr 2020 06:00:25 +0000 (+0200) Subject: sd-bus: Clarify sd_bus_list_names results ownership X-Git-Tag: v246-rc1~536^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=42f5c9a3352cab66f7f5ca80d02bca6269515cb8;p=thirdparty%2Fsystemd.git sd-bus: Clarify sd_bus_list_names results ownership --- diff --git a/man/sd_bus_list_names.xml b/man/sd_bus_list_names.xml index d1aba6ef522..ad7ecd00e3d 100644 --- a/man/sd_bus_list_names.xml +++ b/man/sd_bus_list_names.xml @@ -45,10 +45,9 @@ acquired is not NULL, the function calls org.freedesktop.DBus.ListActivableNames to retrieve the list of all names on the bus that can be - activated. Note that ownership of any string arrays returned by sd_bus_list_names() - is transferred to the caller and hence, the caller is responsible for freeing any results stored by - sd_bus_list_names() in acquired and - activatable. + activated. Note that ownership of the arrays returned by sd_bus_list_names() in + acquired and activatable is transferred to the caller and + hence, the caller is responsible for freeing these arrays and their contents.