diff options
| author | Dan Carpenter <[email protected]> | 2020-10-30 11:48:08 +0000 |
|---|---|---|
| committer | Gerd Hoffmann <[email protected]> | 2020-11-06 07:50:30 +0000 |
| commit | 44510939b18dcb39b1d79ecd1240e2e65dbdf78b (patch) | |
| tree | fa141bc96dc025597c95ae0b7294a8cc1eb0d0f4 /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c | |
| parent | gpu: drm: bridge: analogix: analogix_dp_reg: Remove unused function 'analogix... (diff) | |
| download | kernel-44510939b18dcb39b1d79ecd1240e2e65dbdf78b.tar.gz kernel-44510939b18dcb39b1d79ecd1240e2e65dbdf78b.zip | |
drm/virtio: Fix a double free in virtio_gpu_cmd_map()
This is freed both here and in the caller (virtio_gpu_vram_map()) so
it's a double free. The correct place is only in the caller.
Fixes: 16845c5d5409 ("drm/virtio: implement blob resources: implement vram object")
Signed-off-by: Dan Carpenter <[email protected]>
Reviewed-by: Gurchetan Singh <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/20201030114808.GD3251003@mwanda
Signed-off-by: Gerd Hoffmann <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions
