summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader/prog_cache.c
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-12-24 17:39:21 -0700
committerBrian <[email protected]>2008-01-01 10:21:21 -0700
commitaec6009ece010f334f5777d727620cc042746e31 (patch)
tree39f399e4c425a31371e6ea99579bd7dcd5787ade /src/mesa/shader/prog_cache.c
parent57a5421d658df0ef330fc2c9c34ff9fa0923867e (diff)
fix a memleak
Diffstat (limited to 'src/mesa/shader/prog_cache.c')
-rw-r--r--src/mesa/shader/prog_cache.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/shader/prog_cache.c b/src/mesa/shader/prog_cache.c
index d97e27dd6b5..dd0241ef24e 100644
--- a/src/mesa/shader/prog_cache.c
+++ b/src/mesa/shader/prog_cache.c
@@ -143,6 +143,7 @@ _mesa_delete_program_cache(GLcontext *ctx, struct gl_program_cache *cache)
{
clear_cache(ctx, cache);
_mesa_free(cache->items);
+ _mesa_free(cache);
}