diff options
author | oshogbo <oshogbo@FreeBSD.org> | 2015-08-11 18:17:31 +0000 |
---|---|---|
committer | oshogbo <oshogbo@FreeBSD.org> | 2015-08-11 18:17:31 +0000 |
commit | b7ba9a6094844fd8a0516a925817d44b2d3d3e32 (patch) | |
tree | 61bc3d4400d40202d42fe21a9c385ba30fbc8d4f /contrib/netbsd-tests/lib/libc | |
parent | cb6dbe5ae738e157194b66d8beba27a81dba8679 (diff) | |
download | FreeBSD-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