rtsp-client: Protect saved clients watch with a mutex
authorGöran Jönsson <goranjn@axis.com>
Thu, 28 Aug 2014 11:35:15 +0000 (13:35 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Thu, 4 Sep 2014 07:35:56 +0000 (10:35 +0300)
commit09bf2025f810cdad3127162dcce80a7dc73099e0
tree43a726d1909f59a6d7d5fd00094b296f958d7e33
parent1b47b6d9b03bf93c3e5b0a2885c51851ef61d1e6
rtsp-client: Protect saved clients watch with a mutex

Fixes a crash when close() is called while merging clients
in handle_tunnel(). In that case close() would destroy the
watch while it is still being used in handle_tunnel().

https://bugzilla.gnome.org/show_bug.cgi?id=735570
gst/rtsp-server/rtsp-client.c