On Apr 10, 2008, at 19:46, Markus Spoettl wrote:

I thought I don't have to retain treeContent since I automatically do that with alloc-init, right?

That's right.

Perhaps the controller is not getting released when it should. Do you have an instance variable for the controller too? If so, how is that retained/released? You could probably avoid the error by sending a "setContent:nil" message to the controller in the document's dealloc, but that would just be papering over the problem.

Or perhaps the objects in treeContent are all getting overreleased. That could cause the error messages you're seeing.


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to