add a fixme
llvm-svn: 77447
diff --git a/clang/lib/Analysis/BugReporter.cpp b/clang/lib/Analysis/BugReporter.cpp
index 5640c31..f00583e 100644
--- a/clang/lib/Analysis/BugReporter.cpp
+++ b/clang/lib/Analysis/BugReporter.cpp
@@ -1317,8 +1317,10 @@
FlushReport(EQ);
}
- // Delete the BugType object. This will also delete the equivalence
- // classes.
+ // Delete the BugType object.
+
+ // FIXME: this will *not* delete the BugReportEquivClasses, since FoldingSet
+ // only deletes the buckets, not the nodes themselves.
delete BT;
}