nouveau: fix leak of nouveau_mman structs

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
This commit is contained in:
Ben Skeggs 2011-03-01 14:39:04 +10:00
parent 4826cd0f61
commit 96d57722fd

View file

@ -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);
}