1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-07-04 23:36:00 +02:00

Fixes from valgrind

This commit is contained in:
Brian Fiete 2022-03-18 18:06:14 -07:00
parent 0feaaded22
commit 676e7988fb
31 changed files with 243 additions and 147 deletions

View file

@ -870,7 +870,7 @@ void* BpManager::AllocBytes(int size)
void BpManager::FreeBytes(void* ptr)
{
delete (uint8*)ptr;
delete [] (uint8*)ptr;
}
void BpManager::FinishWorkThread()

View file

@ -43,7 +43,7 @@ public:
~BitSet()
{
delete this->mBits;
delete [] this->mBits;
}
void Resize(int numBits)

View file

@ -429,7 +429,7 @@ public:
}
}
delete mEntries;
delete [] mEntries;
}
Dictionary& operator=(const Dictionary& rhs)