Skip to content

Commit bc3189a

Browse files
authored
Merge pull request #18712 from xedin/fix-asan-failure-in-cs
[ConstraintSystem] Don't try to eagerly deallocate fixes
2 parents b3c66cc + 917783e commit bc3189a

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

lib/Sema/CSSimplify.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4930,8 +4930,6 @@ bool ConstraintSystem::recordFix(ConstraintFix *fix) {
49304930

49314931
if (existingFix == Fixes.end())
49324932
Fixes.push_back(fix);
4933-
else // if fix couldn't be recorded, it means that it's no longer needed.
4934-
Allocator.Deallocate(fix);
49354933

49364934
return false;
49374935
}

0 commit comments

Comments
 (0)