mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 19:20:35 +00:00
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
1 changed files with 0 additions and 1 deletions
|
@ -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…
Reference in a new issue