Forgot sizeof in realloc.