diff options
author | Frank Rowand <[email protected]> | 2020-04-16 16:42:46 -0500 |
---|---|---|
committer | Rob Herring <[email protected]> | 2020-04-17 08:31:34 -0500 |
commit | b3fb36ed694b05738d45218ea72cf7feb10ce2b1 (patch) | |
tree | 094aafa40e72b92a4524f7cf98dc08abca883468 /scripts/gdb/linux/config.py | |
parent | 21a431e627046ff44a2786a9b8e8d6f12aa329f9 (diff) |
of: unittest: kmemleak on changeset destroy
kmemleak reports several memory leaks from devicetree unittest.
This is the fix for problem 1 of 5.
of_unittest_changeset() reaches deeply into the dynamic devicetree
functions. Several nodes were left with an elevated reference
count and thus were not properly cleaned up. Fix the reference
counts so that the memory will be freed.
Fixes: 201c910bd689 ("of: Transactional DT support.")
Reported-by: Erhard F. <[email protected]>
Signed-off-by: Frank Rowand <[email protected]>
Signed-off-by: Rob Herring <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/config.py')
0 files changed, 0 insertions, 0 deletions