diff options
author | Rob Herring <robh@kernel.org> | 2019-10-25 09:14:56 -0500 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2019-10-25 09:14:56 -0500 |
commit | b4e8c0b12debdb680ab801762b003eceaee951c1 (patch) | |
tree | a2c5c4b12b4917f39e8505d6abdfbf8996456403 /drivers/of/unittest.c | |
parent | 58fbe999ff40de631267ba6352a024a6be8a3f24 (diff) | |
parent | 5dba51754b04a941a1064f584e7a7f607df3f9bc (diff) | |
download | linux-b4e8c0b12debdb680ab801762b003eceaee951c1.tar.gz linux-b4e8c0b12debdb680ab801762b003eceaee951c1.tar.bz2 linux-b4e8c0b12debdb680ab801762b003eceaee951c1.zip |
Merge branch 'dt/linus' into dt/next
Diffstat (limited to 'drivers/of/unittest.c')
-rw-r--r-- | drivers/of/unittest.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/of/unittest.c b/drivers/of/unittest.c index 141f23aa4a6b..445f134b62c0 100644 --- a/drivers/of/unittest.c +++ b/drivers/of/unittest.c @@ -1297,6 +1297,7 @@ static int __init unittest_data_add(void) of_fdt_unflatten_tree(unittest_data, NULL, &unittest_data_node); if (!unittest_data_node) { pr_warn("%s: No tree to attach; not running tests\n", __func__); + kfree(unittest_data); return -ENODATA; } |