summaryrefslogtreecommitdiff
path: root/src/modules/checkers
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2023-08-31 11:43:50 -0700
committerVito Caputo <vcaputo@pengaru.com>2023-08-31 11:43:50 -0700
commitdc6b630ed191cc32399304717f77958c8e18c6ad (patch)
tree8308115069b9e7c838b01adb65ec59cff5c100a9 /src/modules/checkers
parentc5e0f1db92673e7520e42563dff894b211187b28 (diff)
modules/*: use til_setup_free_with_ret_err() where apropos
Just some more res_setup baking failure path cleanups, largely mechanical change.
Diffstat (limited to 'src/modules/checkers')
-rw-r--r--src/modules/checkers/checkers.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/modules/checkers/checkers.c b/src/modules/checkers/checkers.c
index 149a8bd..360d553 100644
--- a/src/modules/checkers/checkers.c
+++ b/src/modules/checkers/checkers.c
@@ -866,10 +866,8 @@ static int checkers_setup(const til_settings_t *settings, til_setting_t **res_se
res_setting,
res_desc,
&setup->fill_module_setup); /* finalize! */
- if (r < 0) {
- til_setup_free(&setup->til_setup);
- return r;
- }
+ if (r < 0)
+ return til_setup_free_with_ret_err(&setup->til_setup, r);
assert(r == 0);
© All Rights Reserved