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 |
||
|---|---|---|
| .. | ||
| asmc.c | ||
| asmcvar.h | ||
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 |
||
|---|---|---|
| .. | ||
| asmc.c | ||
| asmcvar.h | ||