[PATCH 9/9] server: Avoid using pointer value after realloc.