Skip to content

Commit 4c8b61e

Browse files
committed
Fix memory leak in test
1 parent 2f9fcc0 commit 4c8b61e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/test_grad.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,8 @@ int test_numgrad(TMolecule &mol, const int charge, const dparam &par) {
7575
}
7676
}
7777

78+
delete[] d4grad;
79+
7880
return EXIT_SUCCESS;
7981
}
8082

0 commit comments

Comments
 (0)