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
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment