objective c - When exiting an App, do I have to release the pointers or is it done automatically? -


when exit out of app, released? or if have pointer-arrays(malloc), have release pointers before exiting app?

thanks

this not defined c specification (and not formally defined in objective-c) on ios , other modern operating systems, when process terminates, memory returned system. yes, such pointers freed appropriately, though c++ destructors , objective-c -dealloc implementations not run.


Comments

Popular posts from this blog

javascript - Iterate over array and calculate average values of array-parts -

iphone - Using nested NSDictionary with Picker -

objective c - Newbie question -multiple parameters -