kernel-fxtec-pro1x/drivers/of
Frank Rowand d55d3d74da of: overlay: kmemleak in dup_and_fixup_symbol_prop()
commit 478ff649b1c8eb2409b1a54fb75eb46f7c29f140 upstream.

kmemleak reports several memory leaks from devicetree unittest.
This is the fix for problem 4 of 5.

target_path was not freed in the non-error path.

Fixes: e0a58f3e08 ("of: overlay: remove a dependency on device node full_name")
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-04-23 10:30:14 +02:00
..
unittest-data of/unittest: Fix I2C bus unit-address error 2019-11-20 18:47:00 +01:00
address.c of: Add OF_DMA_DEFAULT_COHERENT & select it on powerpc 2020-02-11 04:34:03 -08:00
base.c of: make PowerMac cache node search conditional on CONFIG_PPC_PMAC 2019-11-20 18:46:06 +01:00
device.c of: Convert to using %pOFn instead of device_node.name 2019-02-06 17:30:15 +01:00
dynamic.c of: overlay: set node fields from properties when add new overlay node 2019-06-09 09:17:24 +02:00
fdt.c
fdt_address.c
irq.c
Kconfig of: Add OF_DMA_DEFAULT_COHERENT & select it on powerpc 2020-02-11 04:34:03 -08:00
kobj.c of: overlay: add missing of_node_get() in __of_attach_node_sysfs 2019-02-06 17:30:15 +01:00
Makefile
of_mdio.c drivers/of/of_mdio.c:fix of_mdiobus_register() 2020-04-02 15:28:14 +02:00
of_net.c
of_numa.c of: Convert to using %pOFn instead of device_node.name 2019-02-06 17:30:15 +01:00
of_private.h
of_reserved_mem.c
overlay.c of: overlay: kmemleak in dup_and_fixup_symbol_prop() 2020-04-23 10:30:14 +02:00
pdt.c
platform.c of: Convert to using %pOFn instead of device_node.name 2019-02-06 17:30:15 +01:00
property.c OF: properties: add missing of_node_put 2019-01-22 21:40:33 +01:00
resolver.c
unittest.c of: unittest: kmemleak in of_unittest_overlay_high_level() 2020-04-23 10:30:14 +02:00