diff --git a/clang/lib/Driver/Action.cpp b/clang/lib/Driver/Action.cpp index 71bf22ffa12d..cabc33eaec28 100644 --- a/clang/lib/Driver/Action.cpp +++ b/clang/lib/Driver/Action.cpp @@ -13,9 +13,8 @@ using namespace clang::driver; Action::~Action() { - // Free the inputs. - for (iterator it = begin(), ie = end(); it != ie; ++it) - delete *it; + // FIXME: Free the inputs. The problem is that BindArchAction shares + // inputs; so we can't just walk the inputs. } const char *Action::getClassName(ActionClass AC) {