summaryrefslogtreecommitdiffstats
path: root/scripts/dtc
diff options
context:
space:
mode:
authorLixin Wang2017-10-23 05:19:53 +0200
committerRob Herring2017-10-23 18:18:44 +0200
commit070ea018fa092f2ef41bef57896665a25f05d2d8 (patch)
tree2e37ee4f89085d9b8c2e9eb0d916ede61fe51dbb /scripts/dtc
parentof: overlay: make pr_err() string unique (diff)
downloadkernel-qcow2-linux-070ea018fa092f2ef41bef57896665a25f05d2d8.tar.gz
kernel-qcow2-linux-070ea018fa092f2ef41bef57896665a25f05d2d8.tar.xz
kernel-qcow2-linux-070ea018fa092f2ef41bef57896665a25f05d2d8.zip
of: dynamic: fix memory leak related to properties of __of_node_dup
If a node with no properties is dynamically added, then a property is dynamically added to the node, then the property is dynamically removed, the result will be node->properties == NULL and node->deadprops != NULL. Add a separate function to release the properties in both lists. Signed-off-by: Lixin Wang <alan.1.wang@nokia-sbell.com> Reviewed-by: Frank Rowand <frank.rowand@sony.com> Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'scripts/dtc')
0 files changed, 0 insertions, 0 deletions