• Robert Sprowson's avatar
    dis2 and testbed improvements · 9a09a855
    Robert Sprowson authored
    Test/testbed.c: Remove the special case for MAR/MRA now that Debugger supports these. Don't leak raw on exit, found by cppcheck static analysis.
    main.c: Don't leak prog on exit, found by cppcheck static analysis.
    The apparent memory leaks are slightly academic since these are both applications and would be reclaimed on exit.
    
    Tested with all 256M 'EQ' and 256M 'NV' condition codes, only expected differences remain such as use of hex.v.dec for small constants.
    Tagged as Debugger-2_02-1 since Debugger itself is unchanged.
    9a09a855
testbed 13.1 KB