linux_dsm_epyc7002/drivers/gpu/drm/vkms
Wei Yongjun 14e86c0141 drm/vkms: Fix possible memory leak in _vkms_get_crc()
'vaddr_out' is malloced in _vkms_get_crc() and should be freed before
leaving from the error handling cases, otherwise it will cause memory
leak.

Fixes: db7f419c06 ("drm/vkms: Compute CRC with Cursor Plane")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/1536976399-1295-1-git-send-email-weiyongjun1@huawei.com
2018-09-21 10:50:45 +02:00
..
Makefile drm/vkms: Implement CRC debugfs API 2018-08-03 14:52:58 -04:00
vkms_crc.c drm/vkms: Fix possible memory leak in _vkms_get_crc() 2018-09-21 10:50:45 +02:00
vkms_crtc.c drm/vkms: Fix race condition around accessing frame number 2018-09-05 16:04:50 +02:00
vkms_drv.c drm/vkms: Add kerneldoc entry 2018-09-11 20:06:35 +02:00
vkms_drv.h drm/vkms: Enable/Disable cursor support with module option 2018-09-11 19:57:32 +02:00
vkms_gem.c drm/vkms: Fix vmap_count increment position 2018-08-08 10:19:54 +02:00
vkms_output.c drm/vkms: Enable/Disable cursor support with module option 2018-09-11 19:57:32 +02:00
vkms_plane.c drm/vkms: Compute CRC with Cursor Plane 2018-09-11 19:56:19 +02:00