]> git.lyx.org Git - features.git/commitdiff
try to fix free memory leak
authorAndré Pönitz <poenitz@gmx.net>
Wed, 12 Sep 2001 07:51:53 +0000 (07:51 +0000)
committerAndré Pönitz <poenitz@gmx.net>
Wed, 12 Sep 2001 07:51:53 +0000 (07:51 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2730 a592a061-630c-0410-9148-cb99ea01b6c8

src/mathed/math_parser.C

index 0fec5ffb2e663ddcad02465afe979d611c142f5b..94aaea7ad789f058c3ea45ba167791b27b090068 100644 (file)
@@ -849,8 +849,8 @@ void Parser::parse_into(MathArray & array, unsigned flags, MathTextCodes code)
                                // not found -> use everything as "numerator"
                                p->cell(0).swap(array);
                        }
-                       array.push_back(p);
                        parse_into(p->cell(1), FLAG_BLOCK);
+                       array.push_back(p);
                }
        
                else if (t.cs().size()) {