diff --git a/public/tier1/memblockallocator.h b/public/tier1/memblockallocator.h index 96d5232c..5dd1e979 100644 --- a/public/tier1/memblockallocator.h +++ b/public/tier1/memblockallocator.h @@ -112,7 +112,7 @@ inline void CUtlMemoryBlockAllocator::RemoveAll( size_t nSize ) { accumulated_total += m_MemPages[i].m_nTotalSize; - if(removed_at != -1 || nSize && accumulated_total > nSize) + if(removed_at != -1 || (nSize && accumulated_total > nSize)) { CRawAllocator::Free( m_MemPages[i].m_pMemory );