Switch position of _malloc() and _realloc()