* patch #3967: Create a mh_xrealloc function to prevent mistakes when