mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2026-10-22 08:08:14 +00:00
Fix leak of video fragments if the frame queue reaches the size limit
This commit is contained in:
1 parent
25612824ca
commit
1cd17536db
1 file changed
+1
-2
@@ -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