Fix leak of video fragments if the frame queue reaches the size limit
This commit is contained in:
parent
25612824ca
commit
1cd17536db
1 changed files with 1 additions and 2 deletions
|
|
@ -83,8 +83,7 @@ static void freeDecodeUnitList(PLINKED_BLOCKING_QUEUE_ENTRY entry) {
|
||||||
while (entry != NULL) {
|
while (entry != NULL) {
|
||||||
nextEntry = entry->flink;
|
nextEntry = entry->flink;
|
||||||
|
|
||||||
// The entry is stored within the data allocation
|
freeQueuedDecodeUnit((PQUEUED_DECODE_UNIT) entry->data);
|
||||||
free(entry->data);
|
|
||||||
|
|
||||||
entry = nextEntry;
|
entry = nextEntry;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue