projects
/
platform
/
upstream
/
gst-plugins-good.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b15ae4
)
pulsesink: fix crash when getting the current-device in NULL->READY
author
Stefan Sauer
<ensonic@users.sf.net>
Tue, 18 Feb 2014 10:28:18 +0000
(11:28 +0100)
committer
Stefan Sauer
<ensonic@users.sf.net>
Tue, 18 Feb 2014 10:28:18 +0000
(11:28 +0100)
The "goto unlock" is wrong as in this code path we haven't take the lock yet.
Fixes #724619
ext/pulse/pulsesink.c
patch
|
blob
|
history
diff --git
a/ext/pulse/pulsesink.c
b/ext/pulse/pulsesink.c
index 0c8ed4d2176172e7fa407b686befef83b08b33d5..ec7d4eff01cf096bec781ca58e56f98d311afdd7 100644
(file)
--- a/
ext/pulse/pulsesink.c
+++ b/
ext/pulse/pulsesink.c
@@
-2788,7
+2788,7
@@
no_mainloop:
no_buffer:
{
GST_DEBUG_OBJECT (pulsesink, "we have no ringbuffer");
-
goto unlock
;
+
return NULL
;
}
info_failed:
{