diff options
-rw-r--r-- | lib/fdtdec_test.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/fdtdec_test.c b/lib/fdtdec_test.c index 1f4f270540..e8bfd1fb1e 100644 --- a/lib/fdtdec_test.c +++ b/lib/fdtdec_test.c @@ -138,6 +138,7 @@ static int run_test(const char *aliases, const char *nodes, const char *expect) } printf("pass\n"); + free(blob); return 0; } @@ -292,6 +293,7 @@ static int check_carveout(void) CHECKVAL(make_fdt_carveout(fdt, FDT_SIZE, 2, 2), 0); CHECKOK(check_fdt_carveout(fdt, 2, 2)); + free(fdt); return 0; } |