Fix: doc: action: wrong function documented for action_list destroy
authorJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Thu, 24 Mar 2022 20:05:20 +0000 (16:05 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 28 Mar 2022 15:14:30 +0000 (11:14 -0400)
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 <mjeanson@efficios.com>
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
include/lttng/action/list.h

index f7331f0839beaa22119373570e1697301ea46372..24c37dcb0e654904f600367446782485750aab7a 100644 (file)
@@ -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);
 
This page took 0.026726 seconds and 4 git commands to generate.