Re: [Mesa-dev] [PATCH] intel: Fix memory leak in intel_miptree_create()

2011-12-27 Thread Eric Anholt
On Tue, 27 Dec 2011 10:16:05 -0800, Chad Versace wrote: > On failure, intel_miptree_create() needs to *release* the miptree, not > just free it, so that the stencil_mt gets released too. Reviewed-by: Eric Anholt pgp08hQgpuu1T.pgp Description: PGP signature

[Mesa-dev] [PATCH] intel: Fix memory leak in intel_miptree_create()

2011-12-27 Thread Chad Versace
On failure, intel_miptree_create() needs to *release* the miptree, not just free it, so that the stencil_mt gets released too. CC: Eric Anholt Signed-off-by: Chad Versace --- src/mesa/drivers/dri/intel/intel_mipmap_tree.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git