pulsesink: fix crash when getting the current-device in NULL->READY
authorStefan Sauer <ensonic@users.sf.net>
Tue, 18 Feb 2014 10:28:18 +0000 (11:28 +0100)
committerStefan Sauer <ensonic@users.sf.net>
Tue, 18 Feb 2014 10:28:18 +0000 (11:28 +0100)
commit3abad7af66f7eab2caeb3bf2a129721e375e29d0
tree35a6ff1a63337fcc07883c335998e5614fa1fcbe
parent2b15ae4ecd75d479a469311aac165bff8be4af96
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
ext/pulse/pulsesink.c