diff options
| author | Wei Yongjun <[email protected]> | 2018-09-15 01:53:19 +0000 |
|---|---|---|
| committer | Daniel Vetter <[email protected]> | 2018-09-21 08:50:45 +0000 |
| commit | 14e86c01413ed4cb69525e5eb60731d03ea7630c (patch) | |
| tree | f6eac5294247e400af87f597ff2f9790ba6a8c2e /drivers/gpu/drm/drm_syncobj.c | |
| parent | MAINTAINERS: Move udl drm driver to drm-misc tree (diff) | |
| download | kernel-14e86c01413ed4cb69525e5eb60731d03ea7630c.tar.gz kernel-14e86c01413ed4cb69525e5eb60731d03ea7630c.zip | |
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: db7f419c06d7 ("drm/vkms: Compute CRC with Cursor Plane")
Signed-off-by: Wei Yongjun <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/drm_syncobj.c')
0 files changed, 0 insertions, 0 deletions
