summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/malloc.c
diff options
context:
space:
mode:
authorjsg <>2017-05-11 02:26:39 +0000
committerjsg <>2017-05-11 02:26:39 +0000
commitc89e8811cb675ecff7033a897289e9ec8be10fbd (patch)
tree57e3f6c5fc4092cb1e77a8d62903a58378f79c7c /src/lib/libc/stdlib/malloc.c
parent02508bcceb2bbb57d18240c63d526e1ce34f43f5 (diff)
downloadopenbsd-c89e8811cb675ecff7033a897289e9ec8be10fbd.tar.gz
openbsd-c89e8811cb675ecff7033a897289e9ec8be10fbd.tar.bz2
openbsd-c89e8811cb675ecff7033a897289e9ec8be10fbd.zip
Fix a problem introduced in freezero() conversion and use
sizeof(struct) not sizeof(pointer). otto@ points out that on OpenBSD currently freezero() would have still zeroed the entire allocation, but this is not documented behaviour and may change in future. ok tom@
Diffstat (limited to 'src/lib/libc/stdlib/malloc.c')
0 files changed, 0 insertions, 0 deletions