diff options
author | Wen Yang <[email protected]> | 2019-02-26 16:17:50 +0800 |
---|---|---|
committer | Mark Brown <[email protected]> | 2019-04-02 12:58:07 +0700 |
commit | c705247136a523488eac806bd357c3e5d79a7acd (patch) | |
tree | ab00a9a7be3ca7c36f74d6caa287e6e972911e5c /tools/perf/scripts/python/compaction-times.py | |
parent | 64b92de9603f22b5455da925ee57268ef7fb4e80 (diff) |
ASoC: fsl_utils: fix a leaked reference by adding missing of_node_put
The call to of_parse_phandle returns a node pointer with refcount
incremented thus it must be explicitly decremented after the last
usage.
Detected by coccinelle with the following warnings:
./sound/soc/fsl/fsl_utils.c:74:2-8: ERROR: missing of_node_put; acquired a node pointer with refcount incremented on line 38, but without a corresponding object release within this function.
Signed-off-by: Wen Yang <[email protected]>
Cc: Timur Tabi <[email protected]>
Cc: Nicolin Chen <[email protected]>
Cc: Xiubo Li <[email protected]>
Cc: Fabio Estevam <[email protected]>
Cc: Liam Girdwood <[email protected]>
Cc: Mark Brown <[email protected]>
Cc: Jaroslav Kysela <[email protected]>
Cc: Takashi Iwai <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions