drm/ttm: fix small memory leak in ttm_memory.c
authorDan Carpenter <error27@gmail.com>
Sat, 28 Nov 2009 10:30:32 +0000 (12:30 +0200)
committerDave Airlie <airlied@redhat.com>
Thu, 3 Dec 2009 23:03:33 +0000 (09:03 +1000)
I moved the allocation until after the check for (si->totalhigh == 0).

Signed-off-by: Dan Carpenter <error27@gmail.com>
Acked-By: Thomas Hellstrom <thellstrom@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>

No differences found