qtdemux: g_free is NULL safe
This commit is contained in:
parent
b07f406634
commit
e61a71b490
@ -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…
x
Reference in New Issue
Block a user