projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4826cd0
)
nouveau: fix leak of nouveau_mman structs
author
Ben Skeggs
<bskeggs@redhat.com>
Tue, 1 Mar 2011 04:39:04 +0000
(14:39 +1000)
committer
Ben Skeggs
<bskeggs@redhat.com>
Tue, 1 Mar 2011 07:22:53 +0000
(17:22 +1000)
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
src/gallium/drivers/nouveau/nouveau_mm.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/nouveau/nouveau_mm.c
b/src/gallium/drivers/nouveau/nouveau_mm.c
index 332b8dc02e3d12c08904f362136a3e261cdd25e9..7edeb4d21d66d32c0705cfb35fb93210bc1446d6 100644
(file)
--- 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);
}