I'm using Boundchecker 5.03 to debug applications that were created in Delphi 3.02. I've noticed that Boundschecker reports resource leaks every time my code creates a TList or TStringList object.
I either call TList.Create in the constructor for an object and call the Free method in the corresponding destructor, or I encapsulate the 'Create' and 'Free' methods in a try..finally block. I can't see where I'm going wrong and create /destroy plenty of other objects dynamically without any resource leaks. The size of each resource leak varies which I also think is odd.
Can anyone help?