create safeMalloc.c