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

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -