From aec6009ece010f334f5777d727620cc042746e31 Mon Sep 17 00:00:00 2001 From: Brian Date: Mon, 24 Dec 2007 17:39:21 -0700 Subject: [PATCH] fix a memleak --- src/mesa/shader/prog_cache.c | 1 + 1 file changed, 1 insertion(+) 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); } -- 2.30.2