From: José Fonseca Date: Wed, 20 Jun 2012 10:51:57 +0000 (+0100) Subject: translate: Free elt8_func/elt16_func too. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fa8dcb848f9380e3daa3568563c23d9e21668bda;p=mesa.git translate: Free elt8_func/elt16_func too. These were leaking. Reviewed-by: Brian Paul Reviewed-by: Roland Scheidegger --- diff --git a/src/gallium/auxiliary/translate/translate_sse.c b/src/gallium/auxiliary/translate/translate_sse.c index 54414ef077f..c2dd42db96e 100644 --- a/src/gallium/auxiliary/translate/translate_sse.c +++ b/src/gallium/auxiliary/translate/translate_sse.c @@ -1442,8 +1442,10 @@ static void translate_sse_release( struct translate *translate ) { struct translate_sse *p = (struct translate_sse *)translate; - x86_release_func( &p->linear_func ); + x86_release_func( &p->elt8_func ); + x86_release_func( &p->elt16_func ); x86_release_func( &p->elt_func ); + x86_release_func( &p->linear_func ); os_free_aligned(p); }