• 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
Object with +0 retain counts returned to caller where a +1 (owning) retain count is expected
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Object with +0 retain counts returned to caller where a +1 (owning) retain count is expected


  • Subject: Object with +0 retain counts returned to caller where a +1 (owning) retain count is expected
  • From: Hamish Allan <email@hidden>
  • Date: Thu, 3 Sep 2009 21:28:09 +0100

Hi,

I'm loving Build and Analyze, but in ASyncSocket an Obj-C method
returning a CFSocketRef whose name is
createAcceptSocketForAddress:error: is chastised for returning an
object with a +1 retain count without being called copy/new/alloc.
Should the CF naming conventions not apply when a CF object is being
returned?

Thanks,
H
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Object with +0 retain counts returned to caller where a +1 (owning) retain count is expected
      • From: Clark Cox <email@hidden>
  • Prev by Date: Avoiding PNG swapping / premultiplication
  • Next by Date: Re: Java project creation in Xcode 3.2
  • Previous by thread: Avoiding PNG swapping / premultiplication
  • Next by thread: Re: Object with +0 retain counts returned to caller where a +1 (owning) retain count is expected
  • Index(es):
    • Date
    • Thread