1
0
mirror of https://github.com/systemd/systemd.git synced 2024-10-28 11:55:44 +03:00

[PATCH] unmap db-file after use

This commit is contained in:
kay.sievers@vrfy.org 2005-03-05 02:33:31 +01:00 committed by Greg KH
parent f0308095c7
commit 237415b141

View File

@ -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;