Hi,
I want to know if this statement:
TObjectList.Add(TObject.Create())
would cause a memory leak and if so why ? (considering that TObject and TObjectList represent real classes derived from TObject and TObjectList)
If TObject.Create() fails, nothing is added to the objectlist right ...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.