Skip to content
Commit 6b7c79d1 authored by Dan Carpenter's avatar Dan Carpenter Committed by Thierry Reding
Browse files

drm/tegra: Fix small leak on error in tegra_fb_alloc()



If we don't have enough memory for ->planes then we leak "fb".

Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
parent 60c2f709
Loading
Loading
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