From c5622f909040bcb46d3ff40db7895b732dbe90da Mon Sep 17 00:00:00 2001 From: ekinaci Date: Thu, 29 Mar 2018 13:40:33 +0200 Subject: [PATCH] Fix memory leak - remove double pointer pointer formatting --- .../diffusionCoefficients/diffusionCoefficients.H | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/lagrangian/cfdemParticle/subModels/chemistryModel/diffusionCoefficients/diffusionCoefficients.H b/src/lagrangian/cfdemParticle/subModels/chemistryModel/diffusionCoefficients/diffusionCoefficients.H index d14ef60e..84905895 100644 --- a/src/lagrangian/cfdemParticle/subModels/chemistryModel/diffusionCoefficients/diffusionCoefficients.H +++ b/src/lagrangian/cfdemParticle/subModels/chemistryModel/diffusionCoefficients/diffusionCoefficients.H @@ -100,17 +100,16 @@ private: void molWeightTable(); // calculate numerator part molar mass addition - void calcMolNum(int, int); + double calcMolNum(int, int); // calculate denominator part diffusion volume equation - void calcDiffVol(int, int); + double calcDiffVol(int, int); void allocateMyArrays() const; bool initialized_; void init(); - double **dBinary_ , **molNum_, **volDiff_; public: