1447047 Resource leak
The system resource will not be reclaimed and reused, reducing the future availability of the resource.
In handle_action_simple_session: Leak of memory or pointers to system resources (CWE-404)
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: I5fa5864411908a6da87477b019f3dcee1c1b231c
lttng_action_destroy(action);
action = NULL;
free(error);
+ argpar_item_destroy(item);
end:
return action;
}
free(data_url_arg);
free(snapshot_output);
argpar_state_destroy(state);
+ argpar_item_destroy(item);
return action;
}