shmsink: fix possible deadlock in _render()/ _allocator_free()
authorMatt Crane <mattcrane@tycoint.com>
Fri, 15 Jan 2016 15:49:12 +0000 (10:49 -0500)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 16 Jan 2016 21:46:28 +0000 (21:46 +0000)
commiteba01f84e53329dd14508cb72891c7a8e85888e0
tree785620215c62f0555a8b05a6c6ff3d6c41a4dc99
parent3184175dae0adfe3a59c38b2fbb8fba5b2a1b27c
shmsink: fix possible deadlock in _render()/ _allocator_free()

Drop object lock before unrefing memory, otherwise the object
lock might be taken again from the allocator and then things
deadlock.

https://bugzilla.gnome.org/show_bug.cgi?id=760551
sys/shm/gstshmsink.c