When you free the pointer, you may see an error, for example
"freed pointer was not assigned
When debugging with the simulator, I add the argument to build MallocStackLogging = YES - this allows me to use malloc_history in the terminal to track where I already freed the pointer.
If I debug the device using this build argument, I get all kinds of console errors such as โunable to create stack log filesโ, etc.
Oddly enough, I get some freed pointer errors appearing on the device, but not on the simulator.
Does anyone have any sensations related to this using the device itself?
Thanks!
iphone cocoa-touch
adam
source share