1
0
Fork 0

fixed a memory leak

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@303
This commit is contained in:
Peter Veenstra 2002-09-26 18:20:01 +00:00
parent 90dc9815bd
commit eb04b57604

View file

@ -650,6 +650,7 @@ bool DOS_FCBFindFirst(Bit16u seg,Bit16u offset)
fcbout->Set_drive(drive +1);
fcbout->Set_filename(naam);
fcbout->Set_ext(ext);
delete fcbout;
return true;
}
@ -689,6 +690,7 @@ bool DOS_FCBFindNext(Bit16u seg,Bit16u offset)
fcbout->Set_drive(drive +1);
fcbout->Set_filename(naam);
fcbout->Set_ext(ext);
delete fcbout;
return true;
}