diff options
author | Zhipeng Lu <alexious@zju.edu.cn> | 2024-01-17 10:13:28 +0300 |
---|---|---|
committer | Qiang Yu <yuq825@gmail.com> | 2024-01-19 05:12:01 +0300 |
commit | 04ae3eb470e52a3c41babe85ff8cee195e4dcbea (patch) | |
tree | 508f5b33c5e8b57453cc4799222e9c79eb29ea6a /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 2e722c868b3a056eb6a2c00cfc0e395cf996290c (diff) | |
download | linux-04ae3eb470e52a3c41babe85ff8cee195e4dcbea.tar.xz |
drm/lima: fix a memleak in lima_heap_alloc
When lima_vm_map_bo fails, the resources need to be deallocated, or
there will be memleaks.
Fixes: 6aebc51d7aef ("drm/lima: support heap buffer creation")
Signed-off-by: Zhipeng Lu <alexious@zju.edu.cn>
Signed-off-by: Qiang Yu <yuq825@gmail.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240117071328.3811480-1-alexious@zju.edu.cn
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions