]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
drm/v3d: Fix double free in v3d_submit_cl_ioctl()
authorDan Carpenter <dan.carpenter@oracle.com>
Mon, 26 Oct 2020 09:49:05 +0000 (12:49 +0300)
committerMaxime Ripard <maxime@cerno.tech>
Mon, 26 Oct 2020 10:43:31 +0000 (11:43 +0100)
commit897dbea6b716c0f2c5bcd4ba1eb4d809caba290c
tree081ad04ca4000d98fd598697b8319d889916d32a
parente3190b5e9462067714d267c40d8c8c1d0463dda3
drm/v3d: Fix double free in v3d_submit_cl_ioctl()

Originally this error path used to leak "bin" but then we accidentally
applied two separate commits to fix it and ended up with a double free.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://patchwork.freedesktop.org/patch/msgid/20201026094905.GA1634423@mwanda
drivers/gpu/drm/v3d/v3d_gem.c