summaryrefslogtreecommitdiff
path: root/udev
diff options
context:
space:
mode:
Diffstat (limited to 'udev')
-rw-r--r--udev/udev-node.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/udev/udev-node.c b/udev/udev-node.c
index 8c2154d37e..24f2ccf618 100644
--- a/udev/udev-node.c
+++ b/udev/udev-node.c
@@ -281,6 +281,7 @@ static const char *link_find_prioritized(struct udev_device *dev, bool add, cons
udev_device_unref(dev_db);
}
}
+ closedir(dir);
return target;
}