etherzhhb added inline comments. ================ Comment at: lib/Analysis/ScopInfo.cpp:4903 @@ +4902,3 @@ + ScopBuilder *SB; + SB = new ScopBuilder(R, AC, AA, DL, DT, LI, SD, SE); + if (SB) { ---------------- New without delete? http://reviews.llvm.org/D20912