Skip to content

Commit e71a956

Browse files
committed
fix leak introduced in #877
1 parent 6fb4cb3 commit e71a956

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

SU2_CFD/include/numerics/CNumerics.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,8 +205,8 @@ class CNumerics {
205205
su2double StrainMag_i, StrainMag_j; /*!< \brief Strain rate magnitude. */
206206
su2double Dissipation_i, Dissipation_j; /*!< \brief Dissipation. */
207207
su2double Dissipation_ij;
208-
su2double roughness_i, /*!< \brief Roughness of the wall nearest to point i. */
209-
roughness_j; /*!< \brief Roughness of the wall nearest to point j. */
208+
su2double roughness_i = 0.0, /*!< \brief Roughness of the wall nearest to point i. */
209+
roughness_j = 0.0; /*!< \brief Roughness of the wall nearest to point j. */
210210

211211
su2double *l, *m;
212212

0 commit comments

Comments
 (0)