From 7dc7ba119d1e04031494fa3aabd1c3a31b885ecf Mon Sep 17 00:00:00 2001 From: Jonathan Rajotte Date: Thu, 24 Mar 2022 16:05:20 -0400 Subject: [PATCH] Fix: doc: action: wrong function documented for action_list destroy MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit The lttng_action_list_destroy function is internal. API users must use `lttng_action_destroy()` to destroy the returned object of `lttng_action_list_create()`. Change-Id: Ic910efd07dd071f7e38e48d34a5e000b3f805729 Reported-by: Michael Jeason Signed-off-by: Jonathan Rajotte Signed-off-by: Jérémie Galarneau --- include/lttng/action/list.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/lttng/action/list.h b/include/lttng/action/list.h index f7331f083..24c37dcb0 100644 --- a/include/lttng/action/list.h +++ b/include/lttng/action/list.h @@ -19,7 +19,7 @@ extern "C" { * Create a newly allocated action list object. * * Returns a new action list on success, NULL on failure. This action list - * must be destroyed using lttng_action_list_destroy(). + * must be destroyed using lttng_action_destroy(). */ extern struct lttng_action *lttng_action_list_create(void); -- 2.34.1