Fix: action error query: leak of action path
[lttng-tools.git] / include / lttng / action / path-internal.h
index 608f144c2b5afa5ec784e9e0fce6f15dd7ec09fc..9f7eaaaa1d3ac6c9dbc4c1f076767937c237ad97 100644 (file)
@@ -23,10 +23,9 @@ struct lttng_action_path {
        struct lttng_dynamic_array indexes;
 };
 
-/* Assumes that 'dst' is uninitialized. */
 LTTNG_HIDDEN
 int lttng_action_path_copy(const struct lttng_action_path *src,
-               struct lttng_action_path *dst);
+               struct lttng_action_path **dst);
 
 LTTNG_HIDDEN
 ssize_t lttng_action_path_create_from_payload(
This page took 0.022956 seconds and 4 git commands to generate.