Commit e7874f13 authored by Francois Cartegnie's avatar Francois Cartegnie

demux: adaptative: fix use after free (cid #1346995)

parent b796d9b8
......@@ -467,6 +467,7 @@ void SegmentInformation::setSegmentTemplate(MediaSegmentTemplate *templ)
mediaSegmentTemplate->mergeWith(templ, 0);
delete templ;
}
else
mediaSegmentTemplate = templ;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment