diff --git a/include/llvm/Analysis/ET-Forest.h b/include/llvm/Analysis/ET-Forest.h index 2c6726f9289..f41e1f59c9b 100644 --- a/include/llvm/Analysis/ET-Forest.h +++ b/include/llvm/Analysis/ET-Forest.h @@ -141,8 +141,7 @@ public: // removeFromForest() ~ETNode() { delete RightmostOcc; - if (ParentOcc) - delete ParentOcc; + delete ParentOcc; } void removeFromForest() {