mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-03 04:52:28 +00:00
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. https://bugzilla.gnome.org/show_bug.cgi?id=708689
This commit is contained in:
parent
f1d074ac39
commit
02ac18b699
1 changed files with 4 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue