mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-09 03:52:19 +02:00
Fixes from valgrind
This commit is contained in:
parent
0feaaded22
commit
676e7988fb
31 changed files with 243 additions and 147 deletions
|
@ -2108,7 +2108,7 @@ void BfSystem::ProcessAtomGraveyard()
|
|||
{
|
||||
deletedAtoms.Add(atom);
|
||||
auto itr = mAtomMap.Remove(atom->mString);
|
||||
delete atom->mString.mPtr;
|
||||
free((void*)atom->mString.mPtr);
|
||||
delete atom;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue