mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 11:48:06 +02:00
fix a memleak
This commit is contained in:
parent
57a5421d65
commit
aec6009ece
1 changed files with 1 additions and 0 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue