mesa: Fix memory leak in generate_mipmap_compressed.
authorVinson Lee <vlee@freedesktop.org>
Sat, 24 Mar 2012 06:11:09 +0000 (23:11 -0700)
committerVinson Lee <vlee@freedesktop.org>
Mon, 26 Mar 2012 21:08:11 +0000 (14:08 -0700)
commitb688700edc0ee8a4dcbac9b4cc5b0388691b7b43
tree44f3b543cdd59847f0c164ad0a9f423869fa2f99
parent7449ae45974c6cfd872c1dc2e73bbccdb11d0f70
mesa: Fix memory leak in generate_mipmap_compressed.

Fixes Coverity resource leak defect.

NOTE: This is a candidate for the 8.0 branch.

Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: José Fonseca <jfonseca@vmware.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/main/mipmap.c