perf: leak environments not freed before process exit
5 files changed