Skip to content

Commit ac74223

Browse files
author
Max Aehle
committed
Fix memory leak related to CSolver::Vector_i, Vector_j
1 parent 1118886 commit ac74223

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

SU2_CFD/src/solvers/CAdjEulerSolver.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -134,9 +134,6 @@ CAdjEulerSolver::CAdjEulerSolver(CGeometry *geometry, CConfig *config, unsigned
134134
jPoint_UndLapl.resize(nPoint);
135135
}
136136

137-
/*--- Define some auxiliary vectors related to the geometry ---*/
138-
Vector_i = new su2double[nDim]; Vector_j = new su2double[nDim];
139-
140137
/*--- Point to point Jacobians. These are always defined because
141138
they are also used for sensitivity calculations. ---*/
142139
Jacobian_i = new su2double* [nVar];

0 commit comments

Comments
 (0)