drm/qxl: qxl_release leak in qxl_draw_dirty_fb()
authorVasily Averin <vvs@virtuozzo.com>
Mon, 27 Apr 2020 05:32:46 +0000 (08:32 +0300)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 28 Apr 2020 10:03:41 +0000 (12:03 +0200)
commit85e9b88af1e6164f19ec71381efd5e2bcfc17620
tree4fc6e89d7fad276bb42df36312dd4ba8e0b2f10d
parent45c5d2a4f39ce15fabd8e0485854b3448f1ef3b8
drm/qxl: qxl_release leak in qxl_draw_dirty_fb()

ret should be changed to release allocated struct qxl_release

Cc: stable@vger.kernel.org
Fixes: 8002db6336dd ("qxl: convert qxl driver to proper use for reservations")
Signed-off-by: Vasily Averin <vvs@virtuozzo.com>
Link: http://patchwork.freedesktop.org/patch/msgid/22cfd55f-07c8-95d0-a2f7-191b7153c3d4@virtuozzo.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
drivers/gpu/drm/qxl/qxl_draw.c