aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/export-to-postgresql-report
diff options
context:
space:
mode:
authorYang Yingliang <yangyingliang@huawei.com>2022-11-04 11:39:45 +0800
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>2022-11-22 13:09:36 +0100
commitc5ed1fe0801f0c66b0fbce2785239a5664629057 (patch)
tree65c06da3da63094c0ceca895a543a518d2328543 /tools/perf/scripts/python/bin/export-to-postgresql-report
parent5822e8cc84ee37338ab0bdc3124f6eec04dc232d (diff)
MIPS: vpe-cmp: fix possible memory leak while module exiting
dev_set_name() allocates memory for name, it need be freed when module exiting, call put_device() to give up reference, so that it can be freed in kobject_cleanup() when the refcount hit to 0. The vpe_device is static, so remove kfree() from vpe_device_release(). Fixes: 17a1d523aa58 ("MIPS: APRP: Add VPE loader support for CMP platforms.") Signed-off-by: Yang Yingliang <yangyingliang@huawei.com> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions