summaryrefslogtreecommitdiff
path: root/udev/lib/libudev-enumerate.c
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2008-10-18 19:27:38 +0200
committerKay Sievers <kay.sievers@vrfy.org>2008-10-18 19:27:38 +0200
commiteb8837e15cdb9ad8f6840406f6ef0c8cfd702b98 (patch)
treee34c9be8c376891a41a4ea6261ce2550ee9be927 /udev/lib/libudev-enumerate.c
parentf1128767cbc805461a8f2e54810146c562d54524 (diff)
udev_list_cleanup() -> udev_list_cleanup_entries()
Diffstat (limited to 'udev/lib/libudev-enumerate.c')
-rw-r--r--udev/lib/libudev-enumerate.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/udev/lib/libudev-enumerate.c b/udev/lib/libudev-enumerate.c
index fab9c4d88d..7a8c51c078 100644
--- a/udev/lib/libudev-enumerate.c
+++ b/udev/lib/libudev-enumerate.c
@@ -82,11 +82,11 @@ void udev_enumerate_unref(struct udev_enumerate *udev_enumerate)
udev_enumerate->refcount--;
if (udev_enumerate->refcount > 0)
return;
- udev_list_cleanup(udev_enumerate->udev, &udev_enumerate->devices_list);
- udev_list_cleanup(udev_enumerate->udev, &udev_enumerate->attr_match_list);
- udev_list_cleanup(udev_enumerate->udev, &udev_enumerate->attr_nomatch_list);
- udev_list_cleanup(udev_enumerate->udev, &udev_enumerate->subsystem_match_list);
- udev_list_cleanup(udev_enumerate->udev, &udev_enumerate->subsystem_nomatch_list);
+ udev_list_cleanup_entries(udev_enumerate->udev, &udev_enumerate->devices_list);
+ udev_list_cleanup_entries(udev_enumerate->udev, &udev_enumerate->attr_match_list);
+ udev_list_cleanup_entries(udev_enumerate->udev, &udev_enumerate->attr_nomatch_list);
+ udev_list_cleanup_entries(udev_enumerate->udev, &udev_enumerate->subsystem_match_list);
+ udev_list_cleanup_entries(udev_enumerate->udev, &udev_enumerate->subsystem_nomatch_list);
free(udev_enumerate);
}