summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2021-01-29 17:14:26 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-02-04 17:04:18 +0100
commit72e008ce307fa2f35f6783997378b32e83122839 (patch)
tree62e2d89f51bca047c19a10aadbaf9d3b96f96765 /tools/perf/scripts/python/export-to-postgresql.py
parent76ec1ec8fc7c4bda24af8c3a73c5f56fa8d6e460 (diff)
nvmem: core: Fix a resource leak on error in nvmem_add_cells_from_of()
This doesn't call of_node_put() on the error path so it leads to a memory leak. Fixes: 0749aa25af82 ("nvmem: core: fix regression in of_nvmem_cell_get()") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Link: https://lore.kernel.org/r/20210129171430.11328-2-srinivas.kandagatla@linaro.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions