beae2ea332
calloc can return NULL so check for NULL pointer in CLASS##_new and CLASS##_dup.
calloc can return NULL so check for NULL pointer in CLASS##_new and CLASS##_dup.