Vote UpVote

Generic Solution to Freeing Objects in Delphi's TStrings

About Delphi Programming – in Delphi TIPS :: Delphi TStrings object does not own the objects you add this way. Objects added to the TStrings object still exist even if the TStrings instance is destroyed. Objects must be explicitly destroyed by the application / developer - you; or your application will leak memory. Here's a generic solution to freeing the memory used by objects stored along strings in a TStrings descendant. Read the full article to learn how to Related: Understanding and Preventing Memory Leaks Store a String (or an Object) Along with a String in a ListBox or ComboBox Using TStringList and TStrings ...
Favorite? Off-Topic? 2011-07-11 04:00


Visits: 854
Votes: 0
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News


Please login or register to use this functionality.
(click on this box to dismiss)