1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-10-31 07:51:08 +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;