Commit b796d9b8 authored by Francois Cartegnie's avatar Francois Cartegnie

demux: adaptative: fix read after free (cid #1346997)

parent 86dff7e0
......@@ -183,9 +183,9 @@ size_t SegmentTimeline::pruneBySequenceNumber(uint64_t number)
}
else
{
delete el;
elements.pop_front();
prunednow += el->r + 1;
elements.pop_front();
delete el;
}
}
......
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