summaryrefslogtreecommitdiff
path: root/src/core/mount.c
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2016-08-18 22:52:13 -0400
committerGitHub <noreply@github.com>2016-08-18 22:52:13 -0400
commit57e3375f83c09c21e1d68151425493112ae7ff66 (patch)
treeeb4466e1ca55cc31e4aa6dfd238d3dab866df677 /src/core/mount.c
parent2ae0858e6c12018def32921e5d732395c74c4379 (diff)
parent6e32c03ed87e5dfd3857013e909e48b5e61564c1 (diff)
Merge pull request #3865 from poettering/remove-ipc
add RemoveIPC= service file setting
Diffstat (limited to 'src/core/mount.c')
-rw-r--r--src/core/mount.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/mount.c b/src/core/mount.c
index f3ccf6d48a..f2ac8d171f 100644
--- a/src/core/mount.c
+++ b/src/core/mount.c
@@ -769,6 +769,8 @@ static void mount_enter_dead(Mount *m, MountResult f) {
exec_context_destroy_runtime_directory(&m->exec_context, manager_get_runtime_prefix(UNIT(m)->manager));
+ unit_unref_uid_gid(UNIT(m), true);
+
dynamic_creds_destroy(&m->dynamic_creds);
}