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:
parent
0feaaded22
commit
676e7988fb
31 changed files with 243 additions and 147 deletions
|
@ -870,7 +870,7 @@ void* BpManager::AllocBytes(int size)
|
|||
|
||||
void BpManager::FreeBytes(void* ptr)
|
||||
{
|
||||
delete (uint8*)ptr;
|
||||
delete [] (uint8*)ptr;
|
||||
}
|
||||
|
||||
void BpManager::FinishWorkThread()
|
||||
|
|
|
@ -43,7 +43,7 @@ public:
|
|||
|
||||
~BitSet()
|
||||
{
|
||||
delete this->mBits;
|
||||
delete [] this->mBits;
|
||||
}
|
||||
|
||||
void Resize(int numBits)
|
||||
|
|
|
@ -429,7 +429,7 @@ public:
|
|||
}
|
||||
}
|
||||
|
||||
delete mEntries;
|
||||
delete [] mEntries;
|
||||
}
|
||||
|
||||
Dictionary& operator=(const Dictionary& rhs)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue