Re: Impossible leak warning in OS X init method
Re: Impossible leak warning in OS X init method
- Subject: Re: Impossible leak warning in OS X init method
- From: Marek Hrušovský <email@hidden>
- Date: Sun, 30 Aug 2015 00:18:27 +0200
Aren't you calling a function "do_stuff_successfully" in your initializer?
Maybe you named your method/function with special prefix like "new",
"create", "alloc"
On Sat, Aug 29, 2015 at 9:45 PM, Bill Cheeseman <email@hidden>
wrote:
> > On Aug 29, 2015, at 2:54 PM, Jens Alfke <email@hidden> wrote:
> >
> > That code looks fine to me, and it’s exactly the same style of init
> method that I use (except that I now use ARC so I don’t have to write the
> [self release] call.)
> >
> > Is it possible that, in removing details from your code, you left out
> some detail that’s what’s causing the warning? Do you mind posting the
> actual method, copied/pasted verbatim from Xcode?
>
> I sent it, but the list moderator will have to clear it before it appears
> here because it's too long.
>
> --
>
> Bill Cheeseman - email@hidden
>
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
>
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden