diff options
author | Frank Rowand <frank.rowand@sony.com> | 2020-04-16 23:42:48 +0200 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2020-04-17 15:31:34 +0200 |
commit | 145fc138f9aae4f9e1331352e301df28e16aed35 (patch) | |
tree | a0f3cf53f2f912a8953f5f0722560c1f7a1374e2 /drivers/of/overlay.c | |
parent | of: unittest: kmemleak in of_unittest_platform_populate() (diff) | |
download | linux-145fc138f9aae4f9e1331352e301df28e16aed35.tar.xz linux-145fc138f9aae4f9e1331352e301df28e16aed35.zip |
of: unittest: kmemleak in of_unittest_overlay_high_level()
kmemleak reports several memory leaks from devicetree unittest.
This is the fix for problem 3 of 5.
of_unittest_overlay_high_level() failed to kfree the newly created
property when the property named 'name' is skipped.
Fixes: 39a751a4cb7e ("of: change overlay apply input data from unflattened to FDT")
Reported-by: Erhard F. <erhard_f@mailbox.org>
Signed-off-by: Frank Rowand <frank.rowand@sony.com>
Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'drivers/of/overlay.c')
0 files changed, 0 insertions, 0 deletions