diff options
author | Bernard Zhao <bernard@vivo.com> | 2021-11-15 05:58:50 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-11-18 07:04:57 +0300 |
commit | 27dfaedc0d321b4ea4e10c53e4679d6911ab17aa (patch) | |
tree | ac73aee74c0a269fde3459726cf8b6febefc0489 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 2cf49e00d40d5132e3d067b5aa6d84791929ab15 (diff) | |
download | linux-27dfaedc0d321b4ea4e10c53e4679d6911ab17aa.tar.xz |
drm/amd/amdgpu: fix potential memleak
In function amdgpu_get_xgmi_hive, when kobject_init_and_add failed
There is a potential memleak if not call kobject_put.
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Bernard Zhao <bernard@vivo.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions