From: Jonathan Rajotte Date: Thu, 24 Mar 2022 20:05:20 +0000 (-0400) Subject: Fix: doc: action: wrong function documented for action_list destroy X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=0ae8863018325f0e86112e6a1ce466d5576b5461;p=deliverable%2Flttng-tools.git Fix: doc: action: wrong function documented for action_list destroy 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 --- 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);