* Adhemerval Zanella:
> +void *
> +xreallocarray (void *p, size_t n, size_t s)
> +{
> + void *r = reallocarray (p, n, s);
> + if (r == NULL)
> + oom_error ("reallocarray", n);
> + return r;
> +}
Isn't the failure condition more complicated? See xrealloc.
Thanks,
Florian