From: Ben Skeggs Date: Tue, 1 Mar 2011 04:39:04 +0000 (+1000) Subject: nouveau: fix leak of nouveau_mman structs X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=96d57722fda62e7710eb5281bcf014ddfb824ef9;p=mesa.git nouveau: fix leak of nouveau_mman structs Signed-off-by: Ben Skeggs --- diff --git a/src/gallium/drivers/nouveau/nouveau_mm.c b/src/gallium/drivers/nouveau/nouveau_mm.c index 332b8dc02e3..7edeb4d21d6 100644 --- a/src/gallium/drivers/nouveau/nouveau_mm.c +++ b/src/gallium/drivers/nouveau/nouveau_mm.c @@ -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); }