when finalizing from the fortran module we should also free the external fix storage

This commit is contained in:
Axel Kohlmeyer
2025-06-22 21:48:57 -04:00
parent 4a9fa1ba87
commit 70d36b1b4c

View File

@ -1162,6 +1162,9 @@ CONTAINS
CALL lammps_mpi_finalize()
CALL lammps_python_finalize()
CALL lammps_plugin_finalize()
IF (ALLOCATED(ext_data)) THEN
DEALLOCATE(ext_data)
END IF
END IF
END IF
END SUBROUTINE lmp_close