On 2013-07-30 21:39, Leonardo M. Ramé wrote: > (the AggPas code from fpGui is the > same as in Lazarus). Mostly the same, but not 100% the same. As Mattias said, without a sample project it is hard to debug memory leaks. Memory leaks can be caused by user code too. Regards, Graeme.