queue2: fix deadlock in error path
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Fri, 12 Aug 2011 18:27:21 +0000 (19:27 +0100)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Fri, 12 Aug 2011 18:44:35 +0000 (19:44 +0100)
commita7644b3b1c05faeb5a045f24df51675c0752bc8d
tree98671a3ed159339e45928c8df22d6e8f399bef47
parent63fb18dcd936f0ba35bf8d24aec8ec18fd7183ad
queue2: fix deadlock in error path

Don't lock the same lock twice. Spotted by Josep Torre Valles.
plugins/elements/gstqueue2.c