Skip to content
Commit ae626676 authored by Dave Stevenson's avatar Dave Stevenson Committed by Dom Cobley
Browse files

staging: vcsm-cma: Fix memory leak from not detaching dmabuf



When importing there was a missing call to detach the buffer,
so each import leaked the sg table entry.

Actually the release process for both locally allocated and
imported buffers is identical, so fix them to both use the same
function.

Signed-off-by: default avatarDave Stevenson <dave.stevenson@raspberrypi.com>
parent ab2db733
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