diff options
author | Tyrel Datwyler <[email protected]> | 2013-08-14 22:23:51 -0700 |
---|---|---|
committer | Benjamin Herrenschmidt <[email protected]> | 2013-08-27 14:45:15 +1000 |
commit | 14cd820a2a45a1f7b216c6ca9104c91d52564fbf (patch) | |
tree | c8011debe818cb3ffdd46f076769e1ac1f2d8f23 /tools/perf/util/trace-event-scripting.c | |
parent | 8d5ff320766f051341835c761a2fc125e5b24e9f (diff) |
powerpc/pseries: Add mising of_node_put in delete_dt_node
The node to be detached is retrieved via its phandle by a call to
of_find_node_by_phandle which increments the ref count. We need a matching
call to of_node_put to decrement the ref count and ensure the node is
actually freed.
Signed-off-by: Tyrel Datwyler <[email protected]>
Acked-by: Nathan Fontenot <[email protected]>
Signed-off-by: Benjamin Herrenschmidt <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions