[fpc-pascal] Profiller for Mac OS X

Felipe Monteiro de Carvalho felipemonteiro.carvalho at gmail.com
Thu Sep 3 12:49:02 CEST 2009


On Thu, Sep 3, 2009 at 4:55 AM, Jonas Maebe<jonas.maebe at elis.ugent.be> wrote:
> It does not detect memory leaks stemming from memory not allocated via FPC
> code. A lot of Mac OS X framework routines return pointers that you have to
> retain/release in a balanced way.

Yes, my memory leak was not about allocated blocks but rather about
correctly calling release for NSMenu, NSMenuItem and other Cocoa
objects.

-- 
Felipe Monteiro de Carvalho



More information about the fpc-pascal mailing list