зеркало из https://github.com/github/ruby.git
206388b19e
It is undefined behaviour to free environ as it is managed by the system. This caused RUBY_FREE_AT_EXIT to double free on systems like Linux. This commit changes it to only free orig_environ, which is enough to make both Valgrind and macOS leaks tools to not detect memory leaks. |
||
---|---|---|
.. | ||
acosh.c | ||
alloca.c | ||
cbrt.c | ||
close.c | ||
crt_externs.h | ||
crypt.c | ||
crypt.h | ||
des_tables.c | ||
dtoa.c | ||
erf.c | ||
explicit_bzero.c | ||
ffs.c | ||
file.h | ||
flock.c | ||
hypot.c | ||
langinfo.c | ||
lgamma_r.c | ||
memcmp.c | ||
memmove.c | ||
mt19937.c | ||
nan.c | ||
nextafter.c | ||
procstat_vm.c | ||
setproctitle.c | ||
strchr.c | ||
strerror.c | ||
strlcat.c | ||
strlcpy.c | ||
strstr.c | ||
tgamma.c | ||
x86_64-chkstk.S |