How critical is that the results of a malloc operation be tested for null on the 400?

I'm not allocating a huge amount of data.

The base64 code I adapted invoked some error handling routine if the malloc returned a null. I commented that line out, and it seems to work fine... but is this something I have to seriously be concerned about?

How often will a malloc of a small amount of memory fail on the 400?



This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 by and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].