summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sapi/cli/ps_title.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sapi/cli/ps_title.c b/sapi/cli/ps_title.c
index 28830c9082..8dc46094dd 100644
--- a/sapi/cli/ps_title.c
+++ b/sapi/cli/ps_title.c
@@ -414,6 +414,7 @@ void cleanup_ps_args(char **argv)
for (i = 0; frozen_environ[i] != NULL; i++)
free(frozen_environ[i]);
free(frozen_environ);
+ free(new_environ);
}
#endif /* PS_USE_CLOBBER_ARGV */