On Fri, Jul 18, 2008 at 7:34 AM, Matthias Arndt
> Am 18.07.2008 um 16:25 schrieb Robert Martin:
>> In the next line, you reassign vAttributes to the contents of your iVar
>> dictionary. Nothing points to that alloc'd dictionary in the first line
>> Since vAttributes now points to an autoreleased dictionary, attempting to
>> release it will cause a crash.
> THAT makes sense, I just didn't realize that "objectForKey" returns an
> autorelease object! I just removed the first allocation of "vAttributes"
> what fixes the problem.
This is the wrong thing to take away from this email thread. Please
review the following and ask questions if you don't understand any
aspect of it.
...and review the whole of the document that contains the above...
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden