diff options
author | Franck Bui <fbui@suse.com> | 2020-11-30 15:26:15 +0100 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2020-12-01 09:33:14 +0100 |
commit | e9eec8b5d2c106c5dd51382a155e6045c7c17c1a (patch) | |
tree | 1b1bac195e82cbe30e8caffcb85021b57e1a6a28 /.lgtm | |
parent | cb9d621ebbfa30bbd620c17e143daeb0d78c12f0 (diff) | |
download | systemd-e9eec8b5d2c106c5dd51382a155e6045c7c17c1a.tar.gz |
scope: on unified, make sure to unwatch all PIDs once they've been moved to the cgroup scope
Commit 428a9f6f1d0396b9eacde2b38d667cbe3f15eb55 freed u->pids which is
problematic since the references to this unit in m->watch_pids were no more
removed when the unit was freed.
This patch makes sure to clean all this refs up before freeing u->pids by
calling unit_unwatch_all_pids().
Diffstat (limited to '.lgtm')
0 files changed, 0 insertions, 0 deletions