diff options
Diffstat (limited to 'src/modules/mixer')
-rw-r--r-- | src/modules/mixer/mixer.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/modules/mixer/mixer.c b/src/modules/mixer/mixer.c index ba278fe..5ec54ed 100644 --- a/src/modules/mixer/mixer.c +++ b/src/modules/mixer/mixer.c @@ -429,11 +429,8 @@ static int mixer_setup(const til_settings_t *settings, til_setting_t **res_setti input_preferred[i], (TIL_MODULE_EXPERIMENTAL | TIL_MODULE_HERMETIC), exclusions); - if (r < 0) { - til_setup_free(&setup->til_setup); - /* til_module_setup_full() should already have populated *res_setting */ - return r; - } + if (r < 0) + return til_setup_free_with_ret_err(&setup->til_setup, r); assert(r == 0); } |