https://bugs.kde.org/show_bug.cgi?id=407589

--- Comment #10 from Paul Floyd <pa...@free.fr> ---
Currently, in practice I don't see much benefit in adding reallocarray.

The glibc implementation just uses realloc:
https://code.woboq.org/userspace/glibc/malloc/reallocarray.c.html

So does the FreeBSD implementation:

https://github.com/freebsd/freebsd/blob/master/lib/libc/stdlib/reallocarray.c

The only difference would be callstacks that are a tiny bit cleaner.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to