MFC r299810:
Correct function names that failed in error messages
It should be calloc/strdup, not malloc