diff --git a/src/mathed/ChangeLog b/src/mathed/ChangeLog index bc16d02cab..4bf8501ec1 100644 --- a/src/mathed/ChangeLog +++ b/src/mathed/ChangeLog @@ -6,6 +6,8 @@ * math_cursor.C: do not move into insets that don't have inner cells yet + * formulabase.C: fix memory leak + 2001-07-22 Jean-Marc Lasgouttes * formula.C (insetAllowed): allow insertion of label diff --git a/src/mathed/formulabase.C b/src/mathed/formulabase.C index 44a40e4335..946541d850 100644 --- a/src/mathed/formulabase.C +++ b/src/mathed/formulabase.C @@ -135,10 +135,7 @@ InsetFormulaBase::InsetFormulaBase(InsetFormulaBase const & f) InsetFormulaBase::~InsetFormulaBase() { -#ifdef WITH_WARNINGS -#warning leak this for a while... -#endif - //delete par_; + delete par_; }