commit f978c4204897b5b1a377792e54250c0e95b7b55e
parent ad0f40b43952e17e3e20007bd6d9cd4823eecee2
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Wed, 13 Dec 2023 17:21:30 +0100
Fix the exit/error label
They were reversed
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/sdis_solve_probe_Xd.h b/src/sdis_solve_probe_Xd.h
@@ -721,7 +721,7 @@ post_sync:
if(res != RES_OK) goto error;
}
-error:
+exit:
if(per_thread_rng) release_per_thread_rng(scn->dev, per_thread_rng);
if(rng_proxy) SSP(rng_proxy_ref_put(rng_proxy));
if(per_probe_acc_temp) MEM_RM(allocator, per_probe_acc_temp);
@@ -729,7 +729,7 @@ error:
if(progress) free_process_progress(scn->dev, progress);
if(out_estim_buf) *out_estim_buf = estim_buf;
return (res_T)res;
-exit:
+error:
if(estim_buf) {
SDIS(estimator_buffer_ref_put(estim_buf));
estim_buf = NULL;