Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0879d31b authored by Frediano Ziglio's avatar Frediano Ziglio Committed by Sasha Levin
Browse files

drm/qxl: Do not leak memory if qxl_release_list_add fails



[ Upstream commit 8451cc964c1d193b989c41a44e5e77109cc696f8 ]

If the function fails reference counter to the object is not decremented
causing leaks.
This is hard to spot as it happens only on very low memory situations.

Signed-off-by: default avatarFrediano Ziglio <fziglio@redhat.com>
Cc: stable@vger.kernel.org
Reviewed-by: default avatarDave Airlie <airlied@redhat.com>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
Signed-off-by: default avatarSasha Levin <sasha.levin@oracle.com>
parent d3808ea8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment