meta: Release resources used by decompress_texture_image
authorIan Romanick <ian.d.romanick@intel.com>
Fri, 13 Dec 2013 22:36:17 +0000 (14:36 -0800)
committerIan Romanick <ian.d.romanick@intel.com>
Sun, 2 Feb 2014 15:49:08 +0000 (16:49 +0100)
commit2d3f92e881dbd9d1aff17bba0d182c8ef645a2ca
tree54942704a8a10156f498c58fb4d407dac55317d9
parenta722454dac284e31564d62e537976070bba1eaf8
meta: Release resources used by decompress_texture_image

decompress_texture_image creates an FBO, an RBO, a VBO, a VAO, and a
sampler object, but none of them are ever released.  Later patches will
add program objects, exacerbating the problem.  Leaking piles of memory
is generally frowned upon.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Cc: "9.1 9.2 10.0" <mesa-stable@lists.freedesktop.org>
src/mesa/drivers/common/meta.c