gallium: Fix memory leak.
authorJosé Fonseca <jrfonseca@tungstengraphics.com>
Sun, 23 Mar 2008 19:38:11 +0000 (19:38 +0000)
committerJosé Fonseca <jrfonseca@tungstengraphics.com>
Sun, 23 Mar 2008 19:38:11 +0000 (19:38 +0000)
commit38dc0f809d5f72b382676be6f72ea675a3929455
treeba58bb0588cde9e53228100b5f7ede858c9110b5
parent48ef11d308c395837c1685df6ab701a69507e8b9
gallium: Fix memory leak.

pipe cso's were being destroyed, but the hash elements themselves not.

proper fix is IMHO add a destructor callback to cso_hash.
src/gallium/auxiliary/cso_cache/cso_cache.c