DESC
Perform malloc() checks
EDESC

In the previous release I forgot to include this patch, which checks for
malloc() return values.

Thanks to David Hill for pointing this out.

