mirror of
https://git.FreeBSD.org/src.git
synced 2025-02-09 02:26:27 +00:00
![Ulrich Spörlein](/assets/img/avatar_default.png)
It was returning a pointer to stack-allocated memory, so make the allocation at the caller instead. Found by: clang static analyzer Coverity: CID 1245774 Reviewed by: ed, rpaulo Review URL: https://reviews.freebsd.org/D4740