summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/activate/activate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/activate/activate.c b/src/activate/activate.c
index cf8c5cebdb..b3ef428cee 100644
--- a/src/activate/activate.c
+++ b/src/activate/activate.c
@@ -188,7 +188,7 @@ static int launch(char* name, char **argv, char **env, int fds) {
length = strv_length(arg_environ);
/* PATH, TERM, HOME, USER, LISTEN_FDS, LISTEN_PID, NULL */
- envp = new(char *, length + 7);
+ envp = new0(char *, length + 7);
STRV_FOREACH(s, arg_environ) {
if (strchr(*s, '='))