Fix Mismatching allocation and deallocation
Signed-off-by: Philippe Saint-Pierre <[email protected]>
This commit is contained in:
committed by
Philippe Saint-Pierre
parent
b29295c7da
commit
02402d0049
@@ -514,7 +514,7 @@ void MediaReader::Connect(
|
||||
end = TimeSource()->RealTime();
|
||||
}
|
||||
bytesRead = buffer->SizeUsed();
|
||||
delete data;
|
||||
delete[] data;
|
||||
if (buffer != 0) {
|
||||
buffer->Recycle();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user