summaryrefslogtreecommitdiffstats
path: root/contrib/netbsd-tests/lib/libc
diff options
context:
space:
mode:
authoroshogbo <oshogbo@FreeBSD.org>2015-08-11 18:17:31 +0000
committeroshogbo <oshogbo@FreeBSD.org>2015-08-11 18:17:31 +0000
commitb7ba9a6094844fd8a0516a925817d44b2d3d3e32 (patch)
tree61bc3d4400d40202d42fe21a9c385ba30fbc8d4f /contrib/netbsd-tests/lib/libc
parentcb6dbe5ae738e157194b66d8beba27a81dba8679 (diff)
downloadFreeBSD-src-b7ba9a6094844fd8a0516a925817d44b2d3d3e32.zip
FreeBSD-src-b7ba9a6094844fd8a0516a925817d44b2d3d3e32.tar.gz
If any function fail (the ptr variable will be equal to NULL), we shouldn't
return buffer. Instead we should free it and return NULL. Approved by: pjd (mentor)
Diffstat (limited to 'contrib/netbsd-tests/lib/libc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud