mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-20 21:16:24 +00:00
qtdemux: g_free is NULL safe
This commit is contained in:
parent
b07f406634
commit
e61a71b490
1 changed files with 2 additions and 4 deletions
|
@ -1674,12 +1674,10 @@ gst_qtdemux_change_state (GstElement * element, GstStateChange transition)
|
|||
}
|
||||
if (stream->pad)
|
||||
gst_element_remove_pad (element, stream->pad);
|
||||
if (stream->samples)
|
||||
g_free (stream->samples);
|
||||
g_free (stream->samples);
|
||||
if (stream->caps)
|
||||
gst_caps_unref (stream->caps);
|
||||
if (stream->segments)
|
||||
g_free (stream->segments);
|
||||
g_free (stream->segments);
|
||||
if (stream->pending_tags)
|
||||
gst_tag_list_free (stream->pending_tags);
|
||||
g_free (stream->redirect_uri);
|
||||
|
|
Loading…
Reference in a new issue