[Spice-devel] [PATCH 1/2] server: Don't release SndChannel twice from worker reference

Andrew Eikum aeikum at codeweavers.com
Thu Sep 13 11:21:07 PDT 2012


When we release the SndChannel reference during
snd_disconnect_channel(), we need to set the pointer to NULL so it
doesn't get released again on client reconnect during
snd_set_playback_peer(). This can happen when a reference is held from
_playback_get_buffer().
---
 server/snd_worker.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-server-Don-t-release-SndChannel-twice-from-worker-re.patch
Type: text/x-patch
Size: 758 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20120913/b10e8f48/attachment.bin>


More information about the Spice-devel mailing list