mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 14:56:36 +00:00
pulsesink: fix crash when getting the current-device in NULL->READY
The "goto unlock" is wrong as in this code path we haven't take the lock yet. Fixes #724619
This commit is contained in:
parent
2b15ae4ecd
commit
3abad7af66
1 changed files with 1 additions and 1 deletions
|
@ -2788,7 +2788,7 @@ no_mainloop:
|
|||
no_buffer:
|
||||
{
|
||||
GST_DEBUG_OBJECT (pulsesink, "we have no ringbuffer");
|
||||
goto unlock;
|
||||
return NULL;
|
||||
}
|
||||
info_failed:
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue