From fa8dcb848f9380e3daa3568563c23d9e21668bda Mon Sep 17 00:00:00 2001 From: José Fonseca Date: Wed, 20 Jun 2012 11:51:57 +0100 Subject: translate: Free elt8_func/elt16_func too. These were leaking. Reviewed-by: Brian Paul Reviewed-by: Roland Scheidegger --- src/gallium/auxiliary/translate/translate_sse.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') 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); } -- cgit v1.2.3