From 7254b8288f0455653e78e1b0b9dbaed30448d369 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Wed, 6 May 2026 13:59:43 +0200 Subject: [PATCH] alsa: clean up the impl on errors --- spa/plugins/alsa/alsa-compress-offload-sink.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spa/plugins/alsa/alsa-compress-offload-sink.c b/spa/plugins/alsa/alsa-compress-offload-sink.c index c9691a18f..e119270ad 100644 --- a/spa/plugins/alsa/alsa-compress-offload-sink.c +++ b/spa/plugins/alsa/alsa-compress-offload-sink.c @@ -1971,7 +1971,7 @@ impl_init(const struct spa_handle_factory *factory, struct spa_handle *handle, if (spa_streq(k, SPA_KEY_API_ALSA_PATH)) { snprintf(this->props.device, sizeof(this->props.device), "%s", s); if ((res = parse_device(this)) < 0) - return res; + goto error; } }