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

@ -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