mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-07 05:40:39 +02:00
nouveau: fix leak of nouveau_mman structs
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
This commit is contained in:
parent
4826cd0f61
commit
96d57722fd
1 changed files with 2 additions and 0 deletions
|
|
@ -282,5 +282,7 @@ nouveau_mm_destroy(struct nouveau_mman *cache)
|
|||
nouveau_mm_free_slabs(&cache->bucket[i].used);
|
||||
nouveau_mm_free_slabs(&cache->bucket[i].full);
|
||||
}
|
||||
|
||||
FREE(cache);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue