Commit 3bcccc3d authored by Pall Szilard's avatar Pall Szilard
Browse files

Fixed mamory leak caused by missing pme_destroy call in the PME reference implementation.

parent c9bf6eee
...@@ -294,6 +294,7 @@ int ReferenceLJCoulombIxn::calculateEwaldIxn( int numberOfAtoms, RealOpenMM** at ...@@ -294,6 +294,7 @@ int ReferenceLJCoulombIxn::calculateEwaldIxn( int numberOfAtoms, RealOpenMM** at
for(int n = 0; n < numberOfAtoms; n++) for(int n = 0; n < numberOfAtoms; n++)
energyByAtom[n] += recipEnergy; energyByAtom[n] += recipEnergy;
pme_destroy(pmedata);
} }
// Ewald method // Ewald method
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment