mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 11:38:21 +02:00
Cleanup
This commit is contained in:
parent
db1e7dfd71
commit
a414045e96
1 changed files with 1 additions and 3 deletions
|
@ -967,10 +967,8 @@ void BFGC::SweepSpan(tcmalloc_obj::Span* span, int expectedStartPage)
|
|||
{
|
||||
if (!mSweepInfo.mEmptyScan)
|
||||
{
|
||||
// We set this as NOT allocated but deleted. This will show an error like:
|
||||
// We set this to cause an error like:
|
||||
// Deleting an object that was detected as leaked (internal error)
|
||||
//objectFlags = objectFlags & ~BF_OBJECTFLAG_ALLOCATED | BF_OBJECTFLAG_DELETED;
|
||||
|
||||
obj->mObjectFlags = (BfObjectFlags)(objectFlags | BF_OBJECTFLAG_STACK_ALLOC);
|
||||
|
||||
if (!mHadRootError)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue