Small error check and comment for realloc().