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

Skip to content
Commit 46a79fa0 authored by Dan Carpenter's avatar Dan Carpenter Committed by Dave Airlie
Browse files

drm/ttm: fix small memory leak in ttm_memory.c



I moved the allocation until after the check for (si->totalhigh == 0).

Signed-off-by: default avatarDan Carpenter <error27@gmail.com>
Acked-By: default avatarThomas Hellstrom <thellstrom@vmware.com>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent 1a95916f
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