summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBen Skeggs <[email protected]>2011-03-01 14:39:04 +1000
committerBen Skeggs <[email protected]>2011-03-01 17:22:53 +1000
commit96d57722fda62e7710eb5281bcf014ddfb824ef9 (patch)
treef5448ca86302a26fa214f9fa8b6d23a3beb503c1 /src
parent4826cd0f6125b071530026143ffd8205d84b3d5e (diff)
nouveau: fix leak of nouveau_mman structs
Signed-off-by: Ben Skeggs <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/nouveau/nouveau_mm.c2
1 files changed, 2 insertions, 0 deletions
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);
}