diff options
author | Chia-I Wu <olvaffe@gmail.com> | 2023-03-08 03:19:02 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-03-14 00:14:28 +0300 |
commit | 0b255ab74b4e362f01173bee19dd650d3169abb6 (patch) | |
tree | f890befa5cde0f7dc21310a44d8ea352f12f5ed3 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 5922231bd346da717ceee8d14b4361fd595e58ac (diff) | |
download | linux-0b255ab74b4e362f01173bee19dd650d3169abb6.tar.xz |
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/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions