From 42f5c9a3352cab66f7f5ca80d02bca6269515cb8 Mon Sep 17 00:00:00 2001 From: Daan De Meyer Date: Wed, 22 Apr 2020 08:00:25 +0200 Subject: [PATCH] sd-bus: Clarify sd_bus_list_names results ownership --- man/sd_bus_list_names.xml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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.