projects
/
profile
/
ivi
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
57a5421
)
fix a memleak
author
Brian
<brian.paul@tungstengraphics.com>
Tue, 25 Dec 2007 00:39:21 +0000
(17:39 -0700)
committer
Brian
<brian.paul@tungstengraphics.com>
Tue, 1 Jan 2008 17:21:21 +0000
(10:21 -0700)
src/mesa/shader/prog_cache.c
patch
|
blob
|
history
diff --git
a/src/mesa/shader/prog_cache.c
b/src/mesa/shader/prog_cache.c
index
d97e27d
..
dd0241e
100644
(file)
--- 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);
}