From: Dan Carpenter Date: Sat, 28 Nov 2009 10:30:32 +0000 (+0200) Subject: drm/ttm: fix small memory leak in ttm_memory.c X-Git-Tag: v2.6.33-rc1~323^2~6^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=46a79fa08a9a890a12cf9ec3ce51800911a907bf;p=pandora-kernel.git 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: Dan Carpenter Acked-By: Thomas Hellstrom Signed-off-by: Dave Airlie --- Reading git-diff-tree failed