]> git.ipfire.org Git - thirdparty/systemd.git/commit
machined: fix memory corruption
authorLennart Poettering <lennart@poettering.net>
Fri, 7 Dec 2018 15:47:20 +0000 (16:47 +0100)
committerLennart Poettering <lennart@poettering.net>
Sat, 15 Dec 2018 11:10:19 +0000 (12:10 +0100)
commit5be61bead5e618d51a81e4f5bf3604faff9b0b31
treed931dc74cfcbd1ef5858d17e91194b8f41bd3633
parentf079c3727c9b23cb71ff862d66f8c31246ca3326
machined: fix memory corruption

Let's make sure the first hashmap we destroy also frees all machines,
because otherwise when freeing the other hashmaps we'll try to
deregister the contained machines from the hashmaps already destroyed.
src/machine/machined.c