diff options
author | Chia-I Wu <olvaffe@gmail.com> | 2023-03-07 16:19:02 -0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-03-14 10:30:29 -0400 |
commit | b2ca5c5d416b4e72d1e9d0293fc720e2d525fd42 (patch) | |
tree | 9c8b3561ed184994263c7be2af89084f3babf77a /tools/perf/scripts/python/stackcollapse.py | |
parent | 8eeddc0d4200762063e1c66b9cc63afa7b24ebf0 (diff) |
drm/amdkfd: fix a potential double free in pqm_create_queue
Set *q to NULL on errors, otherwise pqm_create_queue would free it
again.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions