🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.pascal.delphi.misc
Article #510

tList.destroy

#510
From: Wilhelm Sarasalo
Date: Fri, 08 May 1998 00:00
16 lines
1099 bytes
A long time ago I looked at the source for tList.Destroy and it didn't 
seem right because it overrode tObject.Destroy, but didn't call it, it
just called clear that sets count and capacity to 0.

Now I bought a debugging tool called BoundsChecker from NuMega. It 
reported resource leakage where I had tList.create/tList.free pairs.

I modified classes.pas adding inherited destroy to tList.destroy, 
BoundsChecker quit reporting any leakage. Programs didn't change their
behavior.

Does anybody know what's going on?

Wilhelm Sarasalo
Pacific Software
Technical Details
Message-ID: <pacsoftEsnnEB.2nE@netcom.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fb0ea,f5046dff2f7b01e1,start
X-Google-Attributes: gidfb0ea,public
X-Google-Thread: 10baee,f5046dff2f7b01e1,start
X-Google-Attributes: gid10baee,public
From: pacsoft@netcom.com (Wilhelm Sarasalo)
Subject: tList.destroy
Date: 1998/05/08
Message-ID: <pacsoftEsnnEB.2nE@netcom.com>
X-Deja-AN: 351532674
Sender: pacsoft@netcom18.netcom.com
Organization: Netcom On-Line Services
Newsgroups: comp.lang.pascal.delphi.misc,borland.public.delphi.vcl.components.using