diff options
-rw-r--r-- | src/common/util.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/util.c b/src/common/util.c index 5fd8c2dca8..ecf49a6f13 100644 --- a/src/common/util.c +++ b/src/common/util.c @@ -3823,6 +3823,8 @@ process_environment_make(struct smartlist_t *env_vars) tor_assert(cp == env->windows_environment_block + total_env_length - 1); } + smartlist_free(env_vars_sorted); + return env; } |