From c969f8806272b9fec50eb3325727cd012ce8dd1c Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Mon, 17 Nov 2008 14:43:58 +0100 Subject: [PATCH] udevd: fix cleanup of /dev/.udev/uevent_seqnum --- udev/udevd.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/udev/udevd.c b/udev/udevd.c index 08a87b03..bfd73231 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(); -- 2.39.5