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
Post a Comment