Index: ../trunk-jpl/src/c/classes/FemModel.cpp =================================================================== --- ../trunk-jpl/src/c/classes/FemModel.cpp (revision 24628) +++ ../trunk-jpl/src/c/classes/FemModel.cpp (revision 24629) @@ -2518,6 +2518,10 @@ } } + /*Clean up*/ + for(int i=0;i(resultsonnodes[i]); + xDelete(resultsonnodes); + /*Assign pointer and clean up*/ *presults = results; }