aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/modules.py
diff options
context:
space:
mode:
authorXiu Jianfeng <[email protected]>2022-11-09 17:19:05 +0800
committerDmitry Osipenko <[email protected]>2023-01-02 17:42:25 +0300
commita764da46cd15f8b40292d2c0b29c4bf9a3e66c7e (patch)
treee742ea72936900d05ceb95ee736809551e6e9af7 /scripts/gdb/linux/modules.py
parent3b754ed6d1cd90017e66e5cc16f3923e4a952ffc (diff)
drm/virtio: Fix memory leak in virtio_gpu_object_create()
The virtio_gpu_object_shmem_init() will alloc memory and save it in @ents, so when virtio_gpu_array_alloc() fails, this memory should be freed, this patch fixes it. Fixes: e7fef0923303 ("drm/virtio: Simplify error handling of virtio_gpu_object_create()") Signed-off-by: Xiu Jianfeng <[email protected]> Reviewed-by: Dmitry Osipenko <[email protected]> Signed-off-by: Dmitry Osipenko <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions