• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Impossible leak warning in OS X init method
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Impossible leak warning in OS X init method
      • From: Bill Cheeseman <email@hidden>
References: 
 >Impossible leak warning in OS X init method (From: Bill Cheeseman <email@hidden>)
 >Re: Impossible leak warning in OS X init method (From: Jens Alfke <email@hidden>)
 >Re: Impossible leak warning in OS X init method (From: Bill Cheeseman <email@hidden>)

  • Prev by Date: Re: Swift struggles with arithmetic ?
  • Next by Date: Re: Swift struggles with arithmetic ?
  • Previous by thread: Re: Impossible leak warning in OS X init method
  • Next by thread: Re: Impossible leak warning in OS X init method
  • Index(es):
    • Date
    • Thread