HashedObjectCache::ReturnSlab(): Also free the slab object itself.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35201 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold 2010-01-20 14:05:59 +00:00
parent 453a2bdd18
commit 547999af44
1 changed files with 1 additions and 0 deletions

View File

@ -111,6 +111,7 @@ HashedObjectCache::ReturnSlab(slab* slab)
{
UninitSlab(slab);
(this->*free_pages)(slab->pages);
free_slab(slab);
}