Skip to content

Commit

Permalink
Fix memory leak in test
Browse files Browse the repository at this point in the history
  • Loading branch information
marvinfriede committed Aug 1, 2024
1 parent 2f9fcc0 commit 4c8b61e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/test_grad.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ int test_numgrad(TMolecule &mol, const int charge, const dparam &par) {
}
}

delete[] d4grad;

return EXIT_SUCCESS;
}

Expand Down

0 comments on commit 4c8b61e

Please sign in to comment.