Try again to fix memory leak

This commit is contained in:
Stan Gerald Moore
2023-01-30 12:27:54 -07:00
parent 2e52afbd86
commit a92a3ec50b

View File

@ -95,6 +95,8 @@ PairReaxFFKokkos<DeviceType>::~PairReaxFFKokkos()
{
if (copymode) return;
DeAllocate_System(api->system);
memoryKK->destroy_kokkos(k_eatom,eatom);
memoryKK->destroy_kokkos(k_vatom,vatom);