From dc796bf075abbec437cb50a2a8383a7e3f04c532 Mon Sep 17 00:00:00 2001 From: David Svensson Fors Date: Tue, 12 Jun 2012 13:39:35 +0200 Subject: [PATCH] rtsp-client: don't use g_object_unref on GstRTSPSessionMedia GstRTSPSessionMedia is not a GObject type. When the GstRTSPSession is freed, it will free the media. --- gst/rtsp-server/rtsp-client.c | 1 - 1 file changed, 1 deletion(-) diff --git a/gst/rtsp-server/rtsp-client.c b/gst/rtsp-server/rtsp-client.c index e35efee88c..a70d38821e 100644 --- a/gst/rtsp-server/rtsp-client.c +++ b/gst/rtsp-server/rtsp-client.c @@ -1019,7 +1019,6 @@ not_found: no_stream: { send_generic_response (client, GST_RTSP_STS_NOT_FOUND, state); - g_object_unref (media); g_object_unref (session); return FALSE; }