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.
This commit is contained in:
David Svensson Fors 2012-06-12 13:39:35 +02:00 committed by Wim Taymans
parent aa158fa738
commit dc796bf075

View file

@ -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;
}