mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-18 05:16:05 +00:00
dashdemux: free prop_string only after it's no longer needed
https://bugzilla.gnome.org/show_bug.cgi?id=752419
This commit is contained in:
parent
1b32ac2745
commit
8b558d68cb
1 changed files with 5 additions and 5 deletions
|
@ -492,9 +492,9 @@ gst_mpdparser_get_xml_prop_range (xmlNode * a_node, const gchar * property_name,
|
|||
return exists;
|
||||
|
||||
error:
|
||||
xmlFree (prop_string);
|
||||
GST_WARNING ("failed to parse property %s from xml string %s", property_name,
|
||||
prop_string);
|
||||
xmlFree (prop_string);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
@ -544,9 +544,9 @@ gst_mpdparser_get_xml_prop_ratio (xmlNode * a_node,
|
|||
return exists;
|
||||
|
||||
error:
|
||||
xmlFree (prop_string);
|
||||
GST_WARNING ("failed to parse property %s from xml string %s", property_name,
|
||||
prop_string);
|
||||
xmlFree (prop_string);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
@ -595,9 +595,9 @@ gst_mpdparser_get_xml_prop_framerate (xmlNode * a_node,
|
|||
return exists;
|
||||
|
||||
error:
|
||||
xmlFree (prop_string);
|
||||
GST_WARNING ("failed to parse property %s from xml string %s", property_name,
|
||||
prop_string);
|
||||
xmlFree (prop_string);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
@ -641,9 +641,9 @@ gst_mpdparser_get_xml_prop_cond_uint (xmlNode * a_node,
|
|||
return exists;
|
||||
|
||||
error:
|
||||
xmlFree (prop_string);
|
||||
GST_WARNING ("failed to parse property %s from xml string %s", property_name,
|
||||
prop_string);
|
||||
xmlFree (prop_string);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
@ -731,9 +731,9 @@ gst_mpdparser_get_xml_prop_dateTime (xmlNode * a_node,
|
|||
return exists;
|
||||
|
||||
error:
|
||||
xmlFree (prop_string);
|
||||
GST_WARNING ("failed to parse property %s from xml string %s", property_name,
|
||||
prop_string);
|
||||
xmlFree (prop_string);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue