summaryrefslogtreecommitdiff
path: root/src/nspawn/nspawn-settings.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-02-02 01:52:01 +0100
committerLennart Poettering <lennart@poettering.net>2016-02-03 23:58:24 +0100
commit5f932eb9af7a5e4723855bcd776c2acaa2a31932 (patch)
tree728f5e93d51ddb06808275b94c285bdb25cfbe45 /src/nspawn/nspawn-settings.c
parent145c990fc90277f3a89475db33bcca2af091458f (diff)
nspawn: add new --chdir= switch
Fixes: #2192
Diffstat (limited to 'src/nspawn/nspawn-settings.c')
-rw-r--r--src/nspawn/nspawn-settings.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nspawn/nspawn-settings.c b/src/nspawn/nspawn-settings.c
index d6b64d8d5a..3c552e0734 100644
--- a/src/nspawn/nspawn-settings.c
+++ b/src/nspawn/nspawn-settings.c
@@ -74,6 +74,7 @@ Settings* settings_free(Settings *s) {
strv_free(s->parameters);
strv_free(s->environment);
free(s->user);
+ free(s->working_directory);
strv_free(s->network_interfaces);
strv_free(s->network_macvlan);