[Kst] branches/kst/1.3/kst/src/libkstmath

George Staikos staikos at kde.org
Mon Oct 16 19:11:38 CEST 2006


SVN commit 596060 by staikos:

backport: don't reference deleted equations


 M  +2 -0      kstequation.cpp  


--- branches/kst/1.3/kst/src/libkstmath/kstequation.cpp #596059:596060
@@ -305,6 +305,7 @@
       }
       delete (Equation::Node*)ParsedEquation;
       ParsedEquation = 0L;
+      _pe = 0L;
       Equation::mutex().unlock();
     }
   }
@@ -448,6 +449,7 @@
     } else {
       delete (Equation::Node*)ParsedEquation;
       ParsedEquation = 0L;
+      _pe = 0L;
       return false;
     }
   }


More information about the Kst mailing list