From 446f9bf6bd8fbfc1fd42e60c7872027fac398509 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=B6ran=20J=C3=B6nsson?= Date: Tue, 6 May 2014 11:12:19 +0200 Subject: [PATCH] rtspconnection: Reset control_stream. Reset control_stream when gst_rtsp_connection_close. Fixes https://bugzilla.gnome.org/show_bug.cgi?id=729632 --- gst-libs/gst/rtsp/gstrtspconnection.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gst-libs/gst/rtsp/gstrtspconnection.c b/gst-libs/gst/rtsp/gstrtspconnection.c index 7ab28ca0dc..592de83648 100644 --- a/gst-libs/gst/rtsp/gstrtspconnection.c +++ b/gst-libs/gst/rtsp/gstrtspconnection.c @@ -2231,6 +2231,7 @@ gst_rtsp_connection_close (GstRTSPConnection * conn) /* these were owned by the stream */ conn->input_stream = NULL; conn->output_stream = NULL; + conn->control_stream = NULL; g_free (conn->remote_ip); conn->remote_ip = NULL;