Changeset 4


Ignore:
Timestamp:
Jul 23, 2023, 12:25:31 AM (16 months ago)
Author:
chronos
Message:
  • Fixed: Memory leaks.
Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Core.pas

    r2 r4  
    161161  if Assigned(FormDisassembler) then FreeAndNil(FormDisassembler);
    162162  if Assigned(FormMemory) then FreeAndNil(FormMemory);
     163  if Assigned(FormScreen) then FreeAndNil(FormScreen);
    163164  FreeAndNil(FormMain);
    164165  FreeAndNil(SharpMz800);
  • trunk/SharpMz800.pas

    r2 r4  
    8383  FreeAndNil(MappedMemory);
    8484  FreeAndNil(VideoRam);
     85  FreeAndNil(CharacterRom);
    8586  FreeAndNil(BaseRom);
    8687  FreeAndNil(ExtendedRom);
Note: See TracChangeset for help on using the changeset viewer.