title: Objective C - Crash due to double release?
body: <p>The following code should crash under "Manual reference count" since the objects inside the array are getting released twice. Why does it not crash?</p>
  
  <pre><code>NSMutableArray *array = [NSMutableArray array];
  [array addObject:@"1"];
  [array addObject:@"2"];
  [array addObject:@"3"];
  
  
  for (int i=array.count-1 ; i&gt;= 0 ; i--)
  {
      id object = [array objectAtIndex:i];
      [object release];
      [array removeObject:object];
  }
  </code></pre>