summaryrefslogtreecommitdiff
path: root/udev_db.c
diff options
context:
space:
mode:
Diffstat (limited to 'udev_db.c')
-rw-r--r--udev_db.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/udev_db.c b/udev_db.c
index 4515998fcd..a423247d6b 100644
--- a/udev_db.c
+++ b/udev_db.c
@@ -153,6 +153,7 @@ static int parse_db_file(struct udevice *udev, const char *filename)
break;
}
}
+ file_unmap(buf, bufsize);
if (udev->name[0] == '\0')
return -1;