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
|
@ -1072,7 +1072,7 @@ Bitu IPX_ESRHandler(void) {
|
|||
CALLBACK_RunRealFar(RealSeg(ESRList->getESRAddr()),
|
||||
RealOff(ESRList->getESRAddr()));
|
||||
}
|
||||
delete ESRList;
|
||||
delete ESRList; //Destructor updates this pointer to the next value or NULL
|
||||
} // while
|
||||
|
||||
IO_WriteB(0xa0,0x63); //EOI11
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue