Fix: action error query: leak of action path
[lttng-tools.git] / include / lttng / action / path-internal.hpp
index 9b9a4d10d152f72b7eb1340583a13293fdadee0d..f07776b9bb251790c5a741ed56a1fa01ce3ea562 100644 (file)
@@ -19,9 +19,8 @@ struct lttng_action_path {
        struct lttng_dynamic_array indexes;
 };
 
-/* Assumes that 'dst' is uninitialized. */
 int lttng_action_path_copy(const struct lttng_action_path *src,
-               struct lttng_action_path *dst);
+               struct lttng_action_path **dst);
 
 ssize_t lttng_action_path_create_from_payload(
                struct lttng_payload_view *view,
This page took 0.023186 seconds and 4 git commands to generate.