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

Commit 0a367f63 authored by Sushmita Susheelendra's avatar Sushmita Susheelendra
Browse files

drm/msm: Fix error path clean-up for buffer object creation



The reference count on a buffer object was being
decremented before it was initialized. Fix the
error path clean-up to put the reference only
after the kref has been initialized. Also, avoid
passing the object by reference when possible.

Change-Id: Ifbb1874deb5db9ae3fb2fbd40a58162998284e96
Signed-off-by: default avatarSushmita Susheelendra <ssusheel@codeaurora.org>
parent f677e960
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