Fix new[]/delete mismatch
Originally committed to SVN as r6574.
This commit is contained in:
parent
4a151ca995
commit
29fcf9de44
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
while (mkv_ReadFrame(file,0,&rt,&startTime,&endTime,&filePos,&frameSize,&frameFlags) == 0) {
|
||||||
if (ps->IsCancelled()) {
|
if (ps->IsCancelled()) {
|
||||||
delete readBuf;
|
delete[] readBuf;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue