summaryrefslogtreecommitdiff
path: root/udev
diff options
context:
space:
mode:
Diffstat (limited to 'udev')
-rw-r--r--udev/udevd.c5
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();