diff options
author | Nirmoy Das <[email protected]> | 2024-08-26 18:20:35 +0200 |
---|---|---|
committer | Nirmoy Das <[email protected]> | 2024-08-30 11:38:53 +0200 |
commit | c5f728de696caa35481fd84202dfbc9fecc18e0b (patch) | |
tree | 98c8a285eb109e9933cce583194b88a905349714 /scripts/gdb/linux/lists.py | |
parent | 2bd87f0fc24ae29ead9808d341497f465b339c0a (diff) |
drm/xe: Fix memory leak on xe_alloc_pf_queue failure
Simplify memory unwinding on error also fixing current memory
leak that can happen on error.
v2: use devm_kcalloc(Matt A)
Fixes: 3338e4f90c14 ("drm/xe: Use topology to determine page fault queue size")
Cc: Matthew Auld <[email protected]>
Cc: Matthew Brost <[email protected]>
Cc: Rodrigo Vivi <[email protected]>
Cc: Stuart Summers <[email protected]>
Reviewed-by: Matthew Auld <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Signed-off-by: Nirmoy Das <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions