Fix leak of video fragments if the frame queue reaches the size limit

This commit is contained in:
Cameron Gutman 2015-07-02 00:07:49 -05:00
parent 25612824ca
commit 1cd17536db

View File

@ -83,8 +83,7 @@ static void freeDecodeUnitList(PLINKED_BLOCKING_QUEUE_ENTRY entry) {
while (entry != NULL) {
nextEntry = entry->flink;
// The entry is stored within the data allocation
free(entry->data);
freeQueuedDecodeUnit((PQUEUED_DECODE_UNIT) entry->data);
entry = nextEntry;
}