projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a635a7a
)
core/execute: clear bind_mounts
author
Yu Watanabe
<watanabe.yu+github@gmail.com>
Tue, 13 Feb 2018 05:22:23 +0000
(14:22 +0900)
committer
Yu Watanabe
<watanabe.yu+github@gmail.com>
Wed, 21 Feb 2018 00:05:37 +0000
(09:05 +0900)
src/core/execute.c
patch
|
blob
|
history
diff --git
a/src/core/execute.c
b/src/core/execute.c
index
0d6656d
..
06cbb57
100644
(file)
--- a/
src/core/execute.c
+++ b/
src/core/execute.c
@@
-3621,6
+3621,8
@@
void exec_context_done(ExecContext *c) {
c->inaccessible_paths = strv_free(c->inaccessible_paths);
bind_mount_free_many(c->bind_mounts, c->n_bind_mounts);
+ c->bind_mounts = NULL;
+ c->n_bind_mounts = 0;
c->cpuset = cpu_set_mfree(c->cpuset);