Fix rtsp client refcount management in TCP mode.
[platform/upstream/gstreamer.git] / gst / rtsp-server / rtsp-client.c
index 5711a99..49665e7 100644 (file)
@@ -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);
 }