summaryrefslogtreecommitdiff
path: root/drivers/base/physical_location.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/base/physical_location.c')
-rw-r--r--drivers/base/physical_location.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/base/physical_location.c b/drivers/base/physical_location.c
index fbd9f9839e92..617ada542b00 100644
--- a/drivers/base/physical_location.c
+++ b/drivers/base/physical_location.c
@@ -32,6 +32,7 @@ bool dev_add_physical_location(struct device *dev)
dev->physical_location->dock = pld->dock;
dev->physical_location->lid = pld->lid;
+ ACPI_FREE(pld);
return true;
}