diff options
author | Lennart Poettering <lennart@poettering.net> | 2013-10-02 14:03:56 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2013-10-02 14:03:56 +0200 |
commit | 2c64a8d0caf84254e38f2e76528f2034d37da520 (patch) | |
tree | 2a35edcd5f93cbf2b3275b4af94fc393670e6f69 /src | |
parent | 6c8c92fef72cf6a7ef7109a424ef82dbdc4f6952 (diff) |
acpi: make sure we never free an uninitialized pointer
Diffstat (limited to 'src')
-rw-r--r-- | src/shared/acpi-fpdt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/acpi-fpdt.c b/src/shared/acpi-fpdt.c index a7c83ed855..af58c7cca6 100644 --- a/src/shared/acpi-fpdt.c +++ b/src/shared/acpi-fpdt.c @@ -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; |