diff options
Diffstat (limited to 'audio/out/ao_pulse.c')
-rw-r--r-- | audio/out/ao_pulse.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/audio/out/ao_pulse.c b/audio/out/ao_pulse.c index 2a3047488b..a86871142f 100644 --- a/audio/out/ao_pulse.c +++ b/audio/out/ao_pulse.c @@ -297,11 +297,11 @@ static int init(struct ao *ao) if (!pa_sample_spec_valid(&ss)) { MP_ERR(ao, "Invalid sample spec\n"); - goto fail; + goto unlock_and_fail; } if (!select_chmap(ao, &map)) - goto fail; + goto unlock_and_fail; if (!(proplist = pa_proplist_new())) { MP_ERR(ao, "Failed to allocate proplist\n"); |