summaryrefslogtreecommitdiff
path: root/udev/udev-node.c
diff options
context:
space:
mode:
Diffstat (limited to 'udev/udev-node.c')
-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;
}