Fix new[]/delete mismatch

Originally committed to SVN as r6574.
This commit is contained in:
Thomas Goyne 2012-03-12 23:34:05 +00:00
parent 4a151ca995
commit 29fcf9de44

View file

@ -79,7 +79,7 @@ static void read_subtitles(agi::ProgressSink *ps, MatroskaFile *file, MkvStdIO *
while (mkv_ReadFrame(file,0,&rt,&startTime,&endTime,&filePos,&frameSize,&frameFlags) == 0) {
if (ps->IsCancelled()) {
delete readBuf;
delete[] readBuf;
return;
}