summaryrefslogtreecommitdiff
path: root/udev_db.c
diff options
context:
space:
mode:
authorkay.sievers@vrfy.org <kay.sievers@vrfy.org>2005-03-05 02:33:31 +0100
committerGreg KH <gregkh@suse.de>2005-04-26 23:39:49 -0700
commit237415b141ae2f3915160bc43ed76296588299f0 (patch)
tree0c538bd20a4a0af772876de25e6a1567f5369b8d /udev_db.c
parentf0308095c78fd68c29be9b3b391bc1c077afa04c (diff)
[PATCH] unmap db-file after use
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;