From 0ae8863018325f0e86112e6a1ce466d5576b5461 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 9c23d60ca..0dfffa296 100644 --- a/include/lttng/action/list.h +++ b/include/lttng/action/list.h @@ -20,7 +20,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(). */ LTTNG_EXPORT extern struct lttng_action *lttng_action_list_create(void); -- 2.34.1