mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-13 04:41:16 +00:00
Fix rtsp client refcount management in TCP mode.
Don't unref a client ref we never had. Fixes an unref of an already-free client object after a client teardown request for me.
This commit is contained in:
parent
8f16b1504e
commit
0b8ffbbb5c
1 changed files with 1 additions and 1 deletions
|
@ -313,7 +313,7 @@ static void
|
|||
unlink_stream (GstRTSPClient *client, GstRTSPSessionStream *stream)
|
||||
{
|
||||
gst_rtsp_session_stream_set_callbacks (stream, NULL,
|
||||
NULL, client, g_object_unref);
|
||||
NULL, NULL, NULL);
|
||||
client->streams = g_list_remove (client->streams, stream);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue