From 96d57722fda62e7710eb5281bcf014ddfb824ef9 Mon Sep 17 00:00:00 2001 From: Ben Skeggs Date: Tue, 1 Mar 2011 14:39:04 +1000 Subject: [PATCH] nouveau: fix leak of nouveau_mman structs Signed-off-by: Ben Skeggs --- src/gallium/drivers/nouveau/nouveau_mm.c | 2 ++ 1 file changed, 2 insertions(+) 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); } -- 2.30.2