Fix: sessiond: fix memory leak in receive_lttng_trigger
[lttng-tools.git] / src / bin / lttng-sessiond / client.c
index c9ff2ec70fa635ff6de188ef12bd70361be6e512..d83bee8e66441c8f6b9ddb08f8821ef83a468191 100644 (file)
@@ -776,6 +776,7 @@ static enum lttng_error_code receive_lttng_trigger(struct command_ctx *cmd_ctx,
        ret_code = LTTNG_OK;
 
 end:
        ret_code = LTTNG_OK;
 
 end:
+       lttng_payload_reset(&trigger_payload);
        return ret_code;
 }
 
        return ret_code;
 }
 
This page took 0.0303 seconds and 4 git commands to generate.