Matt, it looks like there is the same bug in m_clalloc() that was in m_clget() when how != MB_WAIT. Take a look at it.