realm/realm-cocoa — pull request #722 by tgoyne (2014-07-31 21:47:42+00:00)
Title: Fix memory leak when breaking out of a for-in loop

Use an autoreleased NSMutableArray rather than id[] to keep the objects alive so that they eventually get deleted if the caller breaks out of the loop.

@alazier @jpsim