summaryrefslogtreecommitdiff
path: root/udev/udev-event.c
diff options
context:
space:
mode:
Diffstat (limited to 'udev/udev-event.c')
-rw-r--r--udev/udev-event.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/udev/udev-event.c b/udev/udev-event.c
index 59ae7c5378..86cb92ea94 100644
--- a/udev/udev-event.c
+++ b/udev/udev-event.c
@@ -52,7 +52,7 @@ struct udev_event *udev_event_new(struct udev_device *dev)
void udev_event_unref(struct udev_event *event)
{
- udev_list_cleanup(event->udev, &event->run_list);
+ udev_list_cleanup_entries(event->udev, &event->run_list);
dbg(event->udev, "free event %p\n", event);
free(event);
}