diff options
author | Boris Brezillon <[email protected]> | 2019-11-29 14:59:03 +0100 |
---|---|---|
committer | Rob Herring <[email protected]> | 2019-12-06 11:06:11 -0600 |
commit | 3bb69dbcb9e8430e0cc9990cff427ca3ae25ffdc (patch) | |
tree | d59ca9c29151ac6eb71769c8fc0000cf175d106b /lib/mpi/mpiutil.c | |
parent | 70cc77952efebf6722d483cb83cfb563ac9768db (diff) |
drm/panfrost: Fix a BO leak in panfrost_ioctl_mmap_bo()
We should release the reference we grabbed when an error occurs.
Fixes: 187d2929206e ("drm/panfrost: Add support for GPU heap allocations")
Cc: <[email protected]>
Signed-off-by: Boris Brezillon <[email protected]>
Reviewed-by: Steven Price <[email protected]>
Acked-by: Alyssa Rosenzweig <[email protected]>
Signed-off-by: Rob Herring <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions