commit | 8f8419d3255365121e3596307b98ab3d6dcbdf1a | [log] [tgz] |
---|---|---|
author | Samuel Tardieu <sam@rfc1149.net> | Tue Dec 19 19:22:12 2023 +0100 |
committer | Richard Henderson <richard.henderson@linaro.org> | Tue Jan 23 13:22:46 2024 +1000 |
tree | d03540ce87fe1cc4062c8ebe58729e3e52fd491e | |
parent | 0e5e6219ed75f133a14d6bab39f6966540941864 [diff] |
tcg: Make the cleanup-on-error path unique By calling `error_setg_errno()` before jumping to the cleanup-on-error path at the `fail` label, the cleanup path is clearer. Signed-off-by: Samuel Tardieu <sam@rfc1149.net> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Message-Id: <20231219182212.455952-3-sam@rfc1149.net> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>