radeon: fix errors in miptree related function
authorMaciej Cencora <m.cencora@gmail.com>
Mon, 23 Nov 2009 20:59:08 +0000 (21:59 +0100)
committerMaciej Cencora <m.cencora@gmail.com>
Mon, 23 Nov 2009 20:59:08 +0000 (21:59 +0100)
commit960464e42dce138fde11c379ce7744bc4be14aa2
treef7bc2d48408d7f98d06f744cab779c1b00564bd4
parent635823d267c709f37c7a01844e03ebd7074bf4e2
radeon: fix errors in miptree related function

- typo
- memory leak
- off by one (spotted by airlied)
src/mesa/drivers/dri/radeon/radeon_mipmap_tree.c