aboutsummaryrefslogtreecommitdiff
path: root/tests/check_path.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/check_path.c')
-rw-r--r--tests/check_path.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/check_path.c b/tests/check_path.c
index cc9757a..c3ae15d 100644
--- a/tests/check_path.c
+++ b/tests/check_path.c
@@ -32,6 +32,7 @@ static void *open_dt(char *path)
* Resize our DTs to 4k so that we have room to operate on
*/
CHECK(fdt_open_into(dt, copy, FDT_COPY_SIZE));
+ free(dt);
return copy;
}