Fix Mismatching allocation and deallocation

Signed-off-by: Philippe Saint-Pierre <[email protected]>
This commit is contained in:
Murai Takashi
2013-10-16 19:59:24 -04:00
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();
}