Added missing calloc() result checks
Correction