arsenm added a subscriber: arsenm. ================ Comment at: lib/CodeGen/PostRAHazardRecognizer.cpp:100 @@ +99,3 @@ + } + delete HazardRec; + return true; ---------------- Should use unique_ptr http://reviews.llvm.org/D18594