Central point of exit for xmalloc