diff options
author | Brian <[email protected]> | 2007-12-24 17:39:21 -0700 |
---|---|---|
committer | Brian <[email protected]> | 2008-01-01 10:21:21 -0700 |
commit | aec6009ece010f334f5777d727620cc042746e31 (patch) | |
tree | 39f399e4c425a31371e6ea99579bd7dcd5787ade /src/mesa/shader/prog_cache.c | |
parent | 57a5421d658df0ef330fc2c9c34ff9fa0923867e (diff) |
fix a memleak
Diffstat (limited to 'src/mesa/shader/prog_cache.c')
-rw-r--r-- | src/mesa/shader/prog_cache.c | 1 |
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); } |