This function needs to handle the sJumboPageSizeCache, too.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34433 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
a288c5a075
commit
962b2f7296
@ -242,6 +242,9 @@ mb_free_ext(struct mbuf *memoryBuffer)
|
||||
} else if (memoryBuffer->m_ext.ext_type == EXT_JUMBO9) {
|
||||
object_cache_free(sJumbo9ChunkCache, memoryBuffer->m_ext.ext_buf);
|
||||
memoryBuffer->m_ext.ext_buf = NULL;
|
||||
} else if (memoryBuffer->m_ext.ext_type == EXT_JUMBOP) {
|
||||
object_cache_free(sJumboPageSizeCache, memoryBuffer->m_ext.ext_buf);
|
||||
memoryBuffer->m_ext.ext_buf = NULL;
|
||||
} else
|
||||
panic("unknown type");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user