1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 11:38:21 +02:00
This commit is contained in:
Brian Fiete 2019-09-19 06:36:01 -07:00
parent db1e7dfd71
commit a414045e96

View file

@ -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)