diff --git a/spa/plugins/alsa/alsa-seq.c b/spa/plugins/alsa/alsa-seq.c index 551b3cdd0..4f553d6fe 100644 --- a/spa/plugins/alsa/alsa-seq.c +++ b/spa/plugins/alsa/alsa-seq.c @@ -57,7 +57,7 @@ static int seq_open(struct seq_state *state, struct seq_conn *conn) SND_SEQ_OPEN_DUPLEX, 0)) < 0) { spa_log_error(state->log, "open failed: %s", snd_strerror(res)); - goto error_exit_close; + return res; } /* client id */