In 2015 somebody reported a memory leak in the console test runner of DUnit which apparently was never fixed. I encountered that leak today and got annoyed enough by it to fix it. Here is the updated file, just in case anybody else is interested.
The reason for the memory leak was calling Halt without freeing the TTestResult and TTestSuite instances first. There wasn’t actually any harm done because the memory would be freed by the OS but FastMM reported it anyway and this was just annoying.
The DUnit project looks abandoned to me, so maybe I should switch to DUnitX instead. But not today.