diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2008-11-17 14:43:58 +0100 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2008-11-17 14:43:58 +0100 |
commit | c969f8806272b9fec50eb3325727cd012ce8dd1c (patch) | |
tree | 081083f635a1279999d241455903c5eec1928494 | |
parent | 096e59edc98646edb1072c646c631729bee04ad0 (diff) |
udevd: fix cleanup of /dev/.udev/uevent_seqnum
-rw-r--r-- | udev/udevd.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/udev/udevd.c b/udev/udevd.c index 08a87b033b..bfd732319d 100644 --- a/udev/udevd.c +++ b/udev/udevd.c @@ -974,21 +974,18 @@ int main(int argc, char *argv[]) event_queue_manager(udev); } } + cleanup_queue_dir(udev); rc = 0; - exit: udev_rules_unref(rules); - if (signal_pipe[READ_END] >= 0) close(signal_pipe[READ_END]); if (signal_pipe[WRITE_END] >= 0) close(signal_pipe[WRITE_END]); - udev_ctrl_unref(udev_ctrl); if (inotify_fd >= 0) close(inotify_fd); udev_monitor_unref(kernel_monitor); - cleanup_queue_dir(udev); udev_selinux_exit(udev); udev_unref(udev); logging_close(); |