1
0
Fork 0

Pick some lowhanging fruit. (some memory leaks and unused variables)

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4264
This commit is contained in:
Peter Veenstra 2019-10-01 12:11:09 +00:00
parent ca20ca3a3e
commit a919e33aec
4 changed files with 7 additions and 3 deletions

View file

@ -315,6 +315,7 @@ bool DOS_Execute(char * name,PhysPt block_pt,Bit8u flags) {
envseg=block.exec.envseg;
if (!MakeEnv(name,&envseg)) {
DOS_CloseFile(fhandle);
delete [] loadbuf;
return false;
}
/* Get Memory */