I am trying something very trivial here, but the program is terminating with a “EXC_BAD_ACCESS” in the NSLog. I am attempting to populate a mutable array with several dictionaries like this:
NSMutableArray *_recipientsMutArray = [[NSMutableArray alloc] init];
NSDictionary *r1 = [[NSDictionary alloc] initWithObjectsAndKeys: @"firsValue", @"firstKey", @"secondValue", @"secondKey", nil];
[_recipientsMutArray addObject:r1];
[r1 release];
Why?