• 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: Strange leak reported by leaks command line tool
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Strange leak reported by leaks command line tool


  • Subject: Re: Strange leak reported by leaks command line tool
  • From: Jens Alfke <email@hidden>
  • Date: Mon, 16 Jun 2008 08:51:22 -0700

There's nothing inherently strange about this leak. Just because an object was created down inside the Cocoa frameworks doesn't mean that they're responsible for it being leaked. Anything that retains the object might be responsible, if it forgets to release it. You have to consider all the code that accesses this object.

Either some code you aren't showing is retaining that NSData object (possibly the udpGetIp: or udpGetPort: methods), or your code is running on a background thread that doesn't have an autorelease pool. In the latter case you'd already be getting warnings about objects being leaked, though.

—Jens

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

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: Strange leak reported by leaks command line tool
      • From: "Hamish Allan" <email@hidden>
References: 
 >Strange leak reported by leaks command line tool (From: Aarno Syvänen <email@hidden>)

  • Prev by Date: Re: awakeFromNib
  • Next by Date: Re: Passing CGImageSourceRef to IKImageView
  • Previous by thread: Re: Strange leak reported by leaks command line tool
  • Next by thread: Re: Strange leak reported by leaks command line tool
  • Index(es):
    • Date
    • Thread