]> git.ipfire.org Git - thirdparty/systemd.git/commit
libudev: unset uptodate flag before free()ing entries
authorYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 1 Feb 2021 17:34:20 +0000 (02:34 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 1 Feb 2021 17:34:23 +0000 (02:34 +0900)
commit65c637ad2c2dc1fcddac01f104cdb146a88af852
tree488ee7bc00d0ff4c9ba1e900f2eb25e926935bb3
parent8e5ce38727246a213d88f43da72ae2769d99d3f6
libudev: unset uptodate flag before free()ing entries

udev_list_entry_free() also removes the entry from LIST if the flag is
set. This slightly optimizes the cleanup logic.
src/libudev/libudev-list.c