Commit 66599814 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

aout: fix mutex leak

parent 9f9b9543
...@@ -277,6 +277,8 @@ static void aout_Destructor (vlc_object_t *obj) ...@@ -277,6 +277,8 @@ static void aout_Destructor (vlc_object_t *obj)
audio_output_t *aout = (audio_output_t *)obj; audio_output_t *aout = (audio_output_t *)obj;
aout_owner_t *owner = aout_owner (aout); aout_owner_t *owner = aout_owner (aout);
assert (owner->req.device == unset_str);
vlc_mutex_destroy (&owner->req.lock);
vlc_mutex_destroy (&owner->lock); vlc_mutex_destroy (&owner->lock);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment