Re: NSAutoreleasePool Problem
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