exec-util: initialize new before using it (#7471)

CID #1383004
This commit is contained in:
Evgeny Vereshchagin
2017-11-26 12:46:56 +01:00
committed by Zbigniew Jędrzejewski-Szmek
parent b45f436f61
commit 3f19974091
+1 -1
View File
@@ -256,7 +256,7 @@ int execute_directories(
static int gather_environment_generate(int fd, void *arg) {
char ***env = arg, **x, **y;
_cleanup_fclose_ FILE *f = NULL;
_cleanup_strv_free_ char **new;
_cleanup_strv_free_ char **new = NULL;
int r;
/* Read a series of VAR=value assignments from fd, use them to update the list of