mirror of
https://github.com/odrling/Aegisub
synced 2025-04-11 22:56:02 +02:00
Fix new[]/delete mismatch
Originally committed to SVN as r6574.
This commit is contained in:
parent
4a151ca995
commit
29fcf9de44
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user