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 -

php - How can I edit my code to echo the data of child's element where my search term was found in, in XMLReader? -

iphone - Pop a UIViewController containing a UITabBarController off of a UINavigationController -