> What is the reason? Can malloc() return NULL with errno being set to something > different than ENOMEM?
It is probably just overly-conservative code in those callers.
> What is the reason? Can malloc() return NULL with errno being set to something > different than ENOMEM?
It is probably just overly-conservative code in those callers.