Skip to content
Snippets Groups Projects
Commit 2f938a09 authored by Boris Brezillon's avatar Boris Brezillon Committed by Tomeu Vizoso
Browse files

drm/panfrost: Fix a BO leak in panfrost_ioctl_mmap_bo()


We should release the reference we grabbed when an error occurs.

Fixes: 187d2929 ("drm/panfrost: Add support for GPU heap allocations")
Cc: <stable@vger.kernel.org>
Signed-off-by: default avatarBoris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: default avatarSteven Price <steven.price@arm.com>
parent 812e376a
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment