From 0b8ffbbb5c4fc9756fba8dc06dd2e5856bbc0e6c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim-Philipp=20M=C3=BCller?= Date: Wed, 1 Apr 2009 01:01:46 +0100 Subject: [PATCH] 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. --- gst/rtsp-server/rtsp-client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/rtsp-server/rtsp-client.c b/gst/rtsp-server/rtsp-client.c index 5711a992f9..49665e70b6 100644 --- a/gst/rtsp-server/rtsp-client.c +++ b/gst/rtsp-server/rtsp-client.c @@ -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); } -- 2.34.1