jbladox
Joined: 29 Jul 2008 Posts: 24
|
Posted: Thu Jul 16, 2009 12:38 pm Post subject: emalloc fail? |
|
|
Hello,
Since there is only 4 KB of EEPROM available, obviously there is an upper limit to how much memory one can emalloc. What does emalloc return if it fails to allocate the requested memory? Is it NULL like regular malloc, or another error code? Or does it crap out?
Also, does re-flashing a TSIM or TLITE recover all the "leaked" memory?
Thanks,
J |
|