diff options
author | 2021-11-14 18:58:50 -0800 | |
---|---|---|
committer | 2021-11-17 23:04:57 -0500 | |
commit | 27dfaedc0d321b4ea4e10c53e4679d6911ab17aa (patch) | |
tree | ac73aee74c0a269fde3459726cf8b6febefc0489 /scripts/gdb/linux/utils.py | |
parent | drm/amd/amdkfd: Fix kernel panic when reset failed and been triggered again (diff) | |
download | wireguard-linux-27dfaedc0d321b4ea4e10c53e4679d6911ab17aa.tar.xz wireguard-linux-27dfaedc0d321b4ea4e10c53e4679d6911ab17aa.zip |
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 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions