X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fshared%2Facpi-fpdt.c;fp=src%2Fshared%2Facpi-fpdt.c;h=af58c7cca6b81dd5e63067a8b4f04c2c3363aaf8;hb=2c64a8d0caf84254e38f2e76528f2034d37da520;hp=a7c83ed8555987bb3b3dfa4dece2b182763a0969;hpb=6c8c92fef72cf6a7ef7109a424ef82dbdc4f6952;p=elogind.git diff --git a/src/shared/acpi-fpdt.c b/src/shared/acpi-fpdt.c index a7c83ed85..af58c7cca 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;