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:
parent
ca20ca3a3e
commit
a919e33aec
4 changed files with 7 additions and 3 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue