summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/translate
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2012-06-20 11:51:57 +0100
committerJosé Fonseca <[email protected]>2012-06-29 12:21:08 +0100
commitfa8dcb848f9380e3daa3568563c23d9e21668bda (patch)
tree6190bbf44140b168bcc3a53de8f91d0efab55660 /src/gallium/auxiliary/translate
parent6dd8e6f9cbca63b222fe4a1c2c49ddb53e75999e (diff)
translate: Free elt8_func/elt16_func too.
These were leaking. Reviewed-by: Brian Paul <[email protected]> Reviewed-by: Roland Scheidegger <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/translate')
-rw-r--r--src/gallium/auxiliary/translate/translate_sse.c4
1 files changed, 3 insertions, 1 deletions
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);
}