chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
f030809
)
[PATCH] unmap db-file after use
author
kay.sievers@vrfy.org
<kay.sievers@vrfy.org>
Sat, 5 Mar 2005 01:33:31 +0000
(
02:33
+0100)
committer
Greg KH
<gregkh@suse.de>
Wed, 27 Apr 2005 06:39:49 +0000
(23:39 -0700)
udev_db.c
patch
|
blob
|
history
diff --git
a/udev_db.c
b/udev_db.c
index 4515998fcd8c311fa950f63142269567c5d939cf..a423247d6b1074b1c1530cc12990fdb5462fbcd6 100644
(file)
--- 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;