commit | bc3189a2d265bf7728ea0cfeb55f032bfe5beaf1 | [log] [tgz] |
---|---|---|
author | Pavel Yaskevich <xedin@apache.org> | Tue Aug 14 20:47:13 2018 -0700 |
committer | GitHub <noreply@github.com> | Tue Aug 14 20:47:13 2018 -0700 |
tree | 05adb3e19bb1d5a707aebf695cd42d7a97c2fd25 | |
parent | b3c66cc19fda25cef3cdb2faeaa3c916ebf5ddbf [diff] | |
parent | 917783e2d7e38b88772aee288a80068db5a61737 [diff] |
Merge pull request #18712 from xedin/fix-asan-failure-in-cs [ConstraintSystem] Don't try to eagerly deallocate fixes
diff --git a/lib/Sema/CSSimplify.cpp b/lib/Sema/CSSimplify.cpp index 2f1b1d3..1340c78 100644 --- a/lib/Sema/CSSimplify.cpp +++ b/lib/Sema/CSSimplify.cpp
@@ -4930,8 +4930,6 @@ if (existingFix == Fixes.end()) Fixes.push_back(fix); - else // if fix couldn't be recorded, it means that it's no longer needed. - Allocator.Deallocate(fix); return false; }