dashdemux: fix memory leak
Free new_mpd, allocated with g_slice_new(), before going out of scope in goto error. CID 1338050
This commit is contained in:
parent
5336cc9ff6
commit
f28fad6e83
@ -2173,6 +2173,7 @@ gst_mpdparser_parse_root_node (GstMPDNode ** pointer, xmlNode * a_node)
|
||||
return TRUE;
|
||||
|
||||
error:
|
||||
gst_mpdparser_free_mpd_node (new_mpd);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user