[Mesa-dev] [PATCH] glsl: Delete builtin_builder::shader when destroying built-ins.

Eric Anholt eric at anholt.net
Wed Sep 18 11:14:16 PDT 2013


Kenneth Graunke <kenneth at whitecape.org> writes:

> I would use _mesa_delete_shader, but it's declared static, and we don't
> really need any of the stuff in it anyway.
>
> This fixes a memory leak caught by Valgrind.
>
> Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>

Reviewed-by: Eric Anholt <eric at anholt.net>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20130918/a3ca9c98/attachment.pgp>


More information about the mesa-dev mailing list