On 02/03/13 10:51, Michael Van Canneyt wrote: > This will definitely cause a memory leak, because the FPC code does not > know that an exception occurred in the constructor (you catch it with > Except), and hence will not call the destructor. Thanks for the correction and explanation. Howard