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 ?
Thanks
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 ?
Thanks