Re: [gtk-osx-devel] [PATCH] gtk-mac-integration reference counting




On Feb 6, 2012, at 4:45 PM, Richard Procter wrote:


On 30/01/2012, at 11:32 AM, John Ralls wrote:

Clang is reporting a potential memory leak, not offering advice about naming conventions. Hmm, that's going to cause memory trouble with introspection, too. I need to make a note about that.

I believe clang is flagging unconventional naming here, at least, indirectly: it does not flag a potential leak if the returning function contains 'create' in its name (following the Core Foundation create rule [1], which I assume applies to the CGImage).


Seems unlikely, especially since you're not using Apple's Clang. I'm back from travel, so I'll start testing it soon. GtkOsxApplication needs more unit tests anyway. ;-)

Regards,
John Ralls



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]