free_execution_result
free_execution_result
is a memory deallocation function which must be called for any ExecutionResult
to avoid leakage.
Safety
Only call this function with the result of execute_on_qpu
or execute_on_qvm
as it expects memory that was originally allocated by Rust.
Definition
void free_execution_result(struct ExecutionResult *result);