• 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: NSAutoreleasePool Problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSAutoreleasePool Problem


  • Subject: Re: NSAutoreleasePool Problem
  • From: Matthew Miller <email@hidden>
  • Date: Sun, 29 Jan 2006 19:07:31 -0500

SOLVED!

Thanks to Shawn and Finlay.

I was using NSValue to store some pointers to MYSQL_FIELD data and creating instances using +[NSValue value:objCType:]. That would have placed them in the NSAutoreleasePool (which I neglected to realize) and I was releasing them after placing into an instance of NSMutableArray. When the array was released, the retainCount was set to 0 for the instances created and hence the subsequent crash.

Appreciate the help.

Matt
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Re: Finder integration or plug-in
  • Next by Date: Re: NSTreeController - setEntityName only settable once??
  • Previous by thread: Re: NSAutoreleasePool Problem
  • Next by thread: NSTreeController - setEntityName only settable once??
  • Index(es):
    • Date
    • Thread