I know the basic principles about memory management (retain count, autorelease pools etc) in Cocoa, but once you go past simple retain/release, it\'s getting a bit more confusin
You only get a reference to the object in the objectArray. It is still in the objectArray which also has the object retained and releasing it is not good here because you didn't do anything that retained it.