proteneer/timemachine

Fix memory leaks

Closed this issue · 1 comments

While testing for memory leaks in #542 using cuda-memcheck --leak-check full, I found existing leaks in master while running test_nonbonded.

========= LEAK SUMMARY: 7536 bytes leaked in 14 allocations
========= ERROR SUMMARY: 14 errors

Note: --leak-check requires calling cudaDeviceReset() at the end as in 9b92c89

Closed by #574