diff options
Diffstat (limited to 'src/libudev')
-rw-r--r-- | src/libudev/libudev-list.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libudev/libudev-list.c b/src/libudev/libudev-list.c index d42008e48d..d992d1879b 100644 --- a/src/libudev/libudev-list.c +++ b/src/libudev/libudev-list.c @@ -115,8 +115,8 @@ void udev_list_cleanup(struct udev_list *list) { return; if (list->unique) { - hashmap_clear_with_destructor(list->unique_entries, udev_list_entry_free); list->uptodate = false; + hashmap_clear_with_destructor(list->unique_entries, udev_list_entry_free); } else LIST_FOREACH_SAFE(entries, i, n, list->entries) udev_list_entry_free(i); |