diff options
author | Miaoqian Lin <[email protected]> | 2022-03-09 10:43:01 +0000 |
---|---|---|
committer | Tony Lindgren <[email protected]> | 2022-04-12 12:55:46 +0300 |
commit | 0f83e6b4161617014017a694888dd8743f46f071 (patch) | |
tree | a82774196cc4f5c167cc2211a704be5a712a55c0 /lib/test_fortify/write_overflow-strlcpy-src.c | |
parent | 71ff461c3f41f6465434b9e980c01782763e7ad8 (diff) |
ARM: OMAP2+: Fix refcount leak in omap_gic_of_init
The of_find_compatible_node() function returns a node pointer with
refcount incremented, We should use of_node_put() on it when done
Add the missing of_node_put() to release the refcount.
Fixes: fd1c07861491 ("ARM: OMAP4: Fix the init code to have OMAP4460 errata available in DT build")
Signed-off-by: Miaoqian Lin <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Tony Lindgren <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strlcpy-src.c')
0 files changed, 0 insertions, 0 deletions