[Mesa-dev] [PATCH 04/35] meta: Release resources used by decompress_texture_image

Eric Anholt eric at anholt.net
Tue Feb 11 12:35:28 PST 2014


Ian Romanick <idr at freedesktop.org> writes:

> From: Ian Romanick <ian.d.romanick at intel.com>
>
> 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.

Genned resources are freed by _mesa_free_shared_resources(), right?
I don't think these changes are necessary.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20140211/a35150b0/attachment.pgp>


More information about the mesa-dev mailing list