Re: NSXMLNode's `stringValue' method and memory leaks
Re: NSXMLNode's `stringValue' method and memory leaks
- Subject: Re: NSXMLNode's `stringValue' method and memory leaks
- From: j o a r <email@hidden>
- Date: Sat, 3 Dec 2005 02:09:27 +0100
On 3 dec 2005, at 02.02, Damien Sorresso wrote:
That's the only explanation I could think of, but I'm not doing
this in another thread. I'm only using a CLI test binary right now.
I've tried adding a pool, but when I do, the program simply crashes
and outputs the same messages over and over.
Well, you always needs an enclosing autorelease pool if you're going
to use Cocoa.
You often also need a running runloop.
If you crash with a pool, it's likely that you do some sort of memory
management error.
Try running with NSZombieEnabled, and in GDB. That should help you
spot your error.
j o a r
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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