payload_size_before_location = payload.size;
comm_ret = lttng_trace_archive_location_serialize(location,
&payload);
+ lttng_trace_archive_location_put(location);
if (comm_ret < 0) {
ERR("Failed to serialize the location of the trace archive produced during the destruction of session \"%s\"",
session->name);
struct notification_thread_handle *notification_thread,
struct lttng_triggers **return_triggers)
{
+ int ret;
enum lttng_error_code ret_code;
struct lttng_triggers *triggers = NULL;
goto end;
}
+ ret = lttng_triggers_remove_hidden_triggers(triggers);
+ if (ret) {
+ ret_code = LTTNG_ERR_UNK;
+ goto end;
+ }
+
*return_triggers = triggers;
triggers = NULL;
ret_code = LTTNG_OK;