nv50: free interpolation parameters in nv50_program_destroy()
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Sat, 14 Nov 2015 21:57:59 +0000 (22:57 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Sat, 14 Nov 2015 22:16:12 +0000 (23:16 +0100)
commit7167a058baa2b524e31e51d8924fe5d0ea661b70
tree254eee869cb31998790484bc1bea2fa0ec290c72
parent69271bba068c21a07b0698bf579becc20767b158
nv50: free interpolation parameters in nv50_program_destroy()

As for nvc0, we need to free memory allocated by interpolation
parameters. This fixes a memory leak spotted by valgrind.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/drivers/nouveau/nv50/nv50_program.c