diff options
author | ache <ache@FreeBSD.org> | 1996-11-11 08:28:47 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1996-11-11 08:28:47 +0000 |
commit | 26976c4aeef49bec6f7209edbdc489614ba70a12 (patch) | |
tree | 54353b89372adc432548645c299404320eb476bc /lib/libpthread/thread/thr_spec.c | |
parent | 3f0c80b2e9b04379f6a4937173027135e3f6e247 (diff) | |
download | FreeBSD-src-26976c4aeef49bec6f7209edbdc489614ba70a12.zip FreeBSD-src-26976c4aeef49bec6f7209edbdc489614ba70a12.tar.gz |
kvm_malloc:
When malloc fails. don't try to memset NULL pointer, it cause core dump
Replace malloc+memset with calloc, theoretically it can do some
optimization of zeroing process internally
Improve error diagnostic
Diffstat (limited to 'lib/libpthread/thread/thr_spec.c')
0 files changed, 0 insertions, 0 deletions