Autorelease problem with NSKeyedUnarchive
Autorelease problem with NSKeyedUnarchive
- Subject: Autorelease problem with NSKeyedUnarchive
- From: Michael Süssner <email@hidden>
- Date: Thu, 21 Aug 2003 09:31:01 +0200
I have written a small test tool archiving and unarchiving a customized
subclass of NSObject.
Each time
vData = [NSKeyedUnarchiver
unarchiveObjectWithFile:@"/tmp/jwtestarchive"];
...
[vData release];
It seems to workout fine but when the Autorelease pool is finally released,
the tool crashes within the release method of the autolease class.
If I retain the vData object, then I do not run into a memory BAD_ACCESS. I
have studied the release documents and could not find any hint.
Any help?
Michael
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.