mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2026-04-15 04:06:12 +00:00
Fix leak of video fragments if the frame queue reaches the size limit
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user