* patch #3966: Create a mh_xmalloc function to prevent mistakes when