How can I stop memory leaks in mobile devices?

Episode 956 (2:08:39)

Pete from San Antonio, CA

Leo says that a memory leak is when a program claims memory and never releases it even after it's needed, and that's not usually how mobile devices work. Apps that have memory leaks in portable devices just keep acquiring memory until the app crashes, and that's why most mobile device OS's are designed to prevent that. If he jailbreaks the device, all bets are off and some apps are just poorly written. As a result, they'll just force close.