Clean-up: trigger: use condition and action put
[lttng-tools.git] / src / common / trigger.c
index 785fce3fcf0271e66a3d11a2777905dba3bd04fc..234691e4a6d5ae2da5d92ee2f0edc3cd0fd0ad9d 100644 (file)
@@ -260,8 +260,8 @@ ssize_t lttng_trigger_create_from_payload(
        ret = offset;
 
 error:
        ret = offset;
 
 error:
-       lttng_condition_destroy(condition);
-       lttng_action_destroy(action);
+       lttng_condition_put(condition);
+       lttng_action_put(action);
 end:
        return ret;
 }
 end:
        return ret;
 }
This page took 0.022649 seconds and 4 git commands to generate.