[Icecast-dev] You don't check for malloc failure

Maarten Bezemer mcbicecast at robuust.nl
Sun May 8 15:06:59 PDT 2011

On Sat, 7 May 2011, Romain Beauxis wrote:

> Hmm.. So what am I not reading right in this:
> "If successful, calloc(), malloc(), realloc(), reallocf(), and
> valloc() functions return a pointer to allocated memory.  If there is
> an error, they return a NULL pointer and set errno"
> Running out of memory is not considered as an error when calling malloc?

More information about the Icecast-dev mailing list