i915, i965: Fix memory leak in intel_miptree_create_for_bo.
authorVinson Lee <vlee@freedesktop.org>
Sat, 28 Sep 2013 05:20:04 +0000 (22:20 -0700)
committerChad Versace <chad.versace@linux.intel.com>
Mon, 11 Nov 2013 21:11:07 +0000 (13:11 -0800)
commit227872571ac57e47777fe1350fe9f5a355b5fbb8
tree61920f3c7dc1a2cd8d1545334f80ef1ecdcf10ee
parentab2da985b67704ac556da591e227b41f3a2e1419
i915, i965: Fix memory leak in intel_miptree_create_for_bo.

Fixes "Resource leak" defects reported by Coverity.

Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
src/mesa/drivers/dri/i915/intel_mipmap_tree.c
src/mesa/drivers/dri/i965/intel_mipmap_tree.c