diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2016-08-18 22:52:13 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-18 22:52:13 -0400 |
commit | 57e3375f83c09c21e1d68151425493112ae7ff66 (patch) | |
tree | eb4466e1ca55cc31e4aa6dfd238d3dab866df677 /src/core/swap.c | |
parent | 2ae0858e6c12018def32921e5d732395c74c4379 (diff) | |
parent | 6e32c03ed87e5dfd3857013e909e48b5e61564c1 (diff) |
Merge pull request #3865 from poettering/remove-ipc
add RemoveIPC= service file setting
Diffstat (limited to 'src/core/swap.c')
-rw-r--r-- | src/core/swap.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/swap.c b/src/core/swap.c index 2c802da3b5..fb222b6858 100644 --- a/src/core/swap.c +++ b/src/core/swap.c @@ -683,6 +683,8 @@ static void swap_enter_dead(Swap *s, SwapResult f) { exec_context_destroy_runtime_directory(&s->exec_context, manager_get_runtime_prefix(UNIT(s)->manager)); + unit_unref_uid_gid(UNIT(s), true); + dynamic_creds_destroy(&s->dynamic_creds); } |