acpi: make sure we never free an uninitialized pointer

This commit is contained in:
Lennart Poettering
2013-10-02 14:03:56 +02:00
parent 6c8c92fef7
commit 2c64a8d0ca
+1 -1
View File
@@ -81,7 +81,7 @@ struct acpi_fpdt_boot {
};
int acpi_get_boot_usec(usec_t *loader_start, usec_t *loader_exit) {
_cleanup_free_ char *buf;
_cleanup_free_ char *buf = NULL;
struct acpi_table_header *tbl;
size_t l;
struct acpi_fpdt_header *rec;