fix memory leak

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2313 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
André Pönitz 2001-07-24 05:53:32 +00:00
parent 3afd871c2d
commit c06a45c6e4
2 changed files with 3 additions and 4 deletions

View File

@ -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 <lasgouttes@lyx.org>
* formula.C (insetAllowed): allow insertion of label

View File

@ -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_;
}