Fix the memory leak in the video decoder
This commit is contained in:
parent
f909371a90
commit
f14a2a66dd
2 changed files with 74 additions and 32 deletions
|
|
@ -65,9 +65,8 @@ void DrSubmitDecodeUnit(PDECODE_UNIT decodeUnit)
|
|||
entry = entry->next;
|
||||
}
|
||||
|
||||
// This function will take our buffer
|
||||
[renderer submitDecodeBuffer:data length:decodeUnit->fullLength];
|
||||
|
||||
free(data);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue