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:
parent
aa158fa738
commit
dc796bf075
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user