PALM: Memory leaks and misuse
|Reported by:||SF/eduardo-costa||Owned by:||SF/chrilith|
I read that PalmOS backend does not work in Zire 71 and others because of limited heap. After some "dig" into the source code, I have a bug/feature request:
1. Use MemHandleNew instead of MemPtrNew
2. Use MHN or MPN instead of malloc
Since ScummVM for PalmOS uses a lot of "new" operations (which are based on "malloc"), Palm Memory Manager will never defragment memory.
Ticket imported from: #1825272. Ticket imported from: feature-requests/412.