mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
rtsp: use gst_object_unref on GstObjects
This commit is contained in:
parent
6b36241816
commit
d43a31055e
2 changed files with 2 additions and 2 deletions
|
@ -580,7 +580,7 @@ rtsp_media_factory_uri_create_element (GstRTSPMediaFactory * factory,
|
|||
no_uridecodebin:
|
||||
{
|
||||
g_critical ("can't create uridecodebin element");
|
||||
g_object_unref (element);
|
||||
gst_object_unref (element);
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -665,7 +665,7 @@ gst_rtsp_media_collect_streams (GstRTSPMedia * media)
|
|||
pad = gst_element_get_static_pad (elem, "src");
|
||||
/* create the stream */
|
||||
gst_rtsp_media_create_stream (media, elem, pad);
|
||||
g_object_unref (pad);
|
||||
gst_object_unref (pad);
|
||||
|
||||
gst_object_unref (elem);
|
||||
|
||||
|
|
Loading…
Reference in a new issue