commit | cc0dbd5f09337c187156fe8b697245e6ea9263d0 | [log] [tgz] |
---|---|---|
author | Alexander Monakov <amonakov@ispras.ru> | Sun Sep 03 22:12:21 2017 +0300 |
committer | Rich Felker <dalias@aerifal.cx> | Mon Sep 04 15:55:21 2017 -0400 |
tree | acd199bba8ec96d1a5ad250ac7211d1d8346e578 | |
parent | 8e932792c917d11545c2953b35159149f7411eca [diff] |
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.