musl - musl - an implementation of the standard library for Linux-based systems

index : musl
musl - an implementation of the standard library for Linux-based systems
summary refs log tree commit diff
path: root/src/stdio
diff options
context:
space:
mode:
authorAlexander Monakov <amonakov@ispras.ru>2017年09月03日 22:12:21 +0300
committerRich Felker <dalias@aerifal.cx>2017年09月04日 15:55:21 -0400
commitcc0dbd5f09337c187156fe8b697245e6ea9263d0 (patch)
treeacd199bba8ec96d1a5ad250ac7211d1d8346e578 /src/stdio
parent8e932792c917d11545c2953b35159149f7411eca (diff)
downloadmusl-cc0dbd5f09337c187156fe8b697245e6ea9263d0.tar.gz
free allocations in clearenv
This aligns clearenv with the Linux man page by setting 'environ' rather than '*environ' to NULL, and stops it from leaking entries allocated by the libc.
Diffstat (limited to 'src/stdio')
0 files changed, 0 insertions, 0 deletions
generated by cgit v1.2.1 (git 2.18.0) at 2025年09月28日 17:50:58 +0000

AltStyle によって変換されたページ (->オリジナル) /