[PATCH 2/5] Fix the handling of realloc failures.