1
0
mirror of https://github.com/systemd/systemd.git synced 2025-03-29 06:50:16 +03:00

acpi-fptd: fix memory leak in acpi_get_boot_usec

This commit is contained in:
Lukas Nykryn 2013-10-02 13:39:49 +02:00
parent 1434ae6fd4
commit 7e326fb5b2
Notes: Lennart Poettering 2013-10-04 17:11:46 +02:00
Backport: bugfix

View File

@ -81,7 +81,7 @@ struct acpi_fpdt_boot {
};
int acpi_get_boot_usec(usec_t *loader_start, usec_t *loader_exit) {
char *buf;
_cleanup_free_ char *buf;
struct acpi_table_header *tbl;
size_t l;
struct acpi_fpdt_header *rec;