[systemd-commits] src/shared
Lukas Nykryn
lnykryn at kemper.freedesktop.org
Wed Oct 2 04:49:16 PDT 2013
src/shared/acpi-fpdt.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 7e326fb5b2c1a839bbe7f879c7efa2af2ed33420
Author: Lukas Nykryn <lnykryn at redhat.com>
Date: Wed Oct 2 13:39:49 2013 +0200
acpi-fptd: fix memory leak in acpi_get_boot_usec
diff --git a/src/shared/acpi-fpdt.c b/src/shared/acpi-fpdt.c
index b094f34..a7c83ed 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) {
- char *buf;
+ _cleanup_free_ char *buf;
struct acpi_table_header *tbl;
size_t l;
struct acpi_fpdt_header *rec;
More information about the systemd-commits
mailing list