diff options
author | Lennart Poettering <lennart@poettering.net> | 2016-01-25 13:46:23 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2016-01-25 13:46:23 +0100 |
commit | 147d3751d8279bcc294721ec115961e7a7565239 (patch) | |
tree | 171e2b4e43ce5daaad063ffae5f8eea25f1463bb /src | |
parent | ce262e5760a22ccbf2430ef8d4c3c7e48a67fd85 (diff) | |
parent | 61e741ed3df2a73f4ff138d276e58f8fb2439337 (diff) |
Merge pull request #2428 from msekletar/nspawn-alloca-fix
nspawn: fix memory leak
Diffstat (limited to 'src')
-rw-r--r-- | src/nspawn/nspawn.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nspawn/nspawn.c b/src/nspawn/nspawn.c index d619206dd6..b183e3aecc 100644 --- a/src/nspawn/nspawn.c +++ b/src/nspawn/nspawn.c @@ -1027,7 +1027,7 @@ static int setup_timezone(const char *dest) { } check = strjoina("/usr/share/zoneinfo/", z); - check = prefix_root(dest, check); + check = prefix_roota(dest, check); if (laccess(check, F_OK) < 0) { log_warning("Timezone %s does not exist in container, not updating container timezone.", z); return 0; |