+ fix memory leaks

This commit is contained in:
wmayer
2015-11-13 16:06:43 +01:00
parent 45af17e39c
commit 48027e1586
3 changed files with 1 additions and 2 deletions

View File

@@ -118,7 +118,6 @@ void ViewProviderFemConstraintForce::updateData(const App::Property* prop)
if (pShapeSep->getNumChildren() == 0) {
// Set up the nodes
SoMultipleCopy* cp = new SoMultipleCopy();
cp->ref();
cp->matrix.setNum(0);
cp->addChild((SoNode*)createArrow(ARROWLENGTH, ARROWHEADRADIUS));
pShapeSep->addChild(cp);