diff options
author | Michal Sekletar <msekleta@redhat.com> | 2016-01-25 12:06:38 +0100 |
---|---|---|
committer | Michal Sekletar <msekleta@redhat.com> | 2016-01-25 12:06:38 +0100 |
commit | 61e741ed3df2a73f4ff138d276e58f8fb2439337 (patch) | |
tree | 171e2b4e43ce5daaad063ffae5f8eea25f1463bb /src/nspawn | |
parent | ce262e5760a22ccbf2430ef8d4c3c7e48a67fd85 (diff) |
nspawn: fix memory leak
Diffstat (limited to 'src/nspawn')
-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; |