From: Brian Date: Tue, 25 Dec 2007 00:39:21 +0000 (-0700) Subject: fix a memleak X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=aec6009ece010f334f5777d727620cc042746e31;p=mesa.git fix a memleak --- 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); }