Files
Mark Wielaard b837aae83d stdlib: Don't call clearenv from __libc_setenv_freemem
Since commit 7a61e7f557 ("stdlib: Make getenv thread-safe in more
cases") clearenv doesn't call any deallocation functions anymore.
__libc_setenv_freemem (called from __libc_freeres) now clears all
backing arrays. So there is no reason anymore to call clearenv from
__libc_setenv_freemem.

Tested against valgrind memcheck with --run-libc-freeres=yes which is
the default.

Reviewed-by: Florian Weimer <fweimer@redhat.com>
2026-09-18 16:15:51 +02:00
..
2012-01-16 09:03:20 -05:00
2024-11-28 14:03:25 -03:00
2016-10-25 17:05:47 -02:00
2005-09-28 06:09:24 +00:00
2003-06-11 23:22:36 +00:00
2005-12-14 15:06:39 +00:00
2005-12-14 15:06:39 +00:00
2005-12-14 15:06:39 +00:00
2004-03-10 09:29:17 +00:00
2021-09-03 22:06:44 +05:30
2000-12-05 08:17:58 +00:00
2006-12-10 01:11:45 +00:00
2014-12-29 23:14:38 -05:00
2005-01-04 07:48:13 +00:00
2005-01-04 07:48:13 +00:00
2021-09-03 22:06:44 +05:30
2016-10-25 17:05:47 -02:00