rtspconnection: Reset control_stream.

Reset control_stream when gst_rtsp_connection_close.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=729632
This commit is contained in:
Göran Jönsson 2014-05-06 11:12:19 +02:00 committed by Wim Taymans
parent 64d58b80c0
commit 446f9bf6bd

View file

@ -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;