aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h
diff options
context:
space:
mode:
authorMichael Ellerman <[email protected]>2018-11-27 19:16:44 +1100
committerMichael Ellerman <[email protected]>2018-12-22 21:04:22 +1100
commit47918bc68b7427e961035949cc1501a864578a69 (patch)
tree85879293d68d72cd4215795179c0e471b8623072 /scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h
parent7f92891778dff62303c070ac81de7b7d80de331a (diff)
powerpc/pseries: Fix node leak in update_lmb_associativity_index()
In update_lmb_associativity_index() we lookup dr_node using of_find_node_by_path() which takes a reference for us. In the non-error case we forget to drop the reference. Note that find_aa_index() does modify properties of the node, but doesn't need an extra reference held once it's returned. Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h')
0 files changed, 0 insertions, 0 deletions