@@ -210,11 +210,10 @@ [m[0] addObject: @""]; i++; } } @catch (OFEnumerationMutationException *e) { ok = YES; - [e release]; } TEST(@"Detection of mutation during Fast Enumeration", ok) [m[0] removeNObjects: 1]; @@ -247,17 +246,15 @@ ^ (id obj, size_t idx, BOOL *stop) { [a2 removeObjectAtIndex: idx]; }]; } @catch (OFEnumerationMutationException *e) { ok = YES; - [e release]; } @catch (OFOutOfRangeException *e) { /* * Out of bounds access due to enumeration not being * detected. */ - [e release]; } TEST(@"Detection of mutation during enumeration using blocks", ok) }