rtsp-server: Change the logic so we don't pop a NULL context
authorMarcus Prebble <prebble@axis.com>
Wed, 11 Nov 2015 13:58:33 +0000 (14:58 +0100)
committerSebastian Dröge <sebastian@centricular.com>
Wed, 11 Nov 2015 14:58:27 +0000 (15:58 +0100)
commitb90d4ba917dc3a1ad4a080b229a55931bc8e828d
treeb94215f0245b7c53a01a257f8e1a54e9a16fd36f
parent2178a7c8714e8bc7c7e9d39f4f8fc11089c70d9b
rtsp-server: Change the logic so we don't pop a NULL context

When doing a port scan (e.g. with nmap) the call to GST_RTSP_CHECK()
will sometimes fail. This call is made before any context is pushed
resulting in an attempt to pop a NULL context.

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