Commit 02ac18b6 authored by Ognyan Tonchev's avatar Ognyan Tonchev Committed by Sebastian Dröge

rtspconnection: Unset input/output_stream after freeing the GIOStream

watch->input_stream and watch->output_stream are owned by the GIOStream
and should be unset after freeing the stream.
parent f1d074ac
......@@ -2037,6 +2037,10 @@ gst_rtsp_connection_close (GstRTSPConnection * conn)
conn->socket1 = NULL;
/* these were owned by the stream */
conn->input_stream = NULL;
conn->output_stream = NULL;
g_free (conn->remote_ip);
conn->remote_ip = NULL;
g_free (conn->local_ip);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment