Fixed memory compatability API


_exmgrab()
_xalloc()
_xfree()
_xgrab()