fix double deletion
authorZack Rusin <zack@tungstengraphics.com>
Tue, 11 Mar 2008 02:10:18 +0000 (22:10 -0400)
committerZack Rusin <zack@tungstengraphics.com>
Tue, 11 Mar 2008 02:12:32 +0000 (22:12 -0400)
commitbe9a2457388d99a2185f258aeb5ef5183ccfbbb2
treeb510c2c4cb0ebc85787dd60b088d28a16fc3df93
parentd9d2ca7a07469a7d5cdc183f2daa6cf9e30938fe
fix double deletion
plus, if the current hash is bigger than max size make sure
we delete enough from it
src/gallium/auxiliary/cso_cache/cso_cache.c
src/gallium/auxiliary/cso_cache/cso_hash.c