projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1434ae6
)
acpi-fptd: fix memory leak in acpi_get_boot_usec
author
Lukas Nykryn
<lnykryn@redhat.com>
Wed, 2 Oct 2013 11:39:49 +0000
(13:39 +0200)
committer
Lukas Nykryn
<lnykryn@redhat.com>
Wed, 2 Oct 2013 11:39:49 +0000
(13:39 +0200)
src/shared/acpi-fpdt.c
patch
|
blob
|
history
diff --git
a/src/shared/acpi-fpdt.c
b/src/shared/acpi-fpdt.c
index b094f34a5f4e31700c74c2bf43b68615c0ea4acf..a7c83ed8555987bb3b3dfa4dece2b182763a0969 100644
(file)
--- 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;