Skip to content
Snippets Groups Projects
Commit 16ea9b83 authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Merge branch 'restart-fixes' into 'master'

Make sure we use the restored structs when cleaning up after restarting

See merge request !648
parents 0ac817ab 8c4eaf9a
No related branches found
No related tags found
1 merge request!648Make sure we use the restored structs when cleaning up after restarting
...@@ -1224,8 +1224,8 @@ int main(int argc, char *argv[]) { ...@@ -1224,8 +1224,8 @@ int main(int argc, char *argv[]) {
/* Clean everything */ /* Clean everything */
if (with_verbose_timers) timers_close_file(); if (with_verbose_timers) timers_close_file();
if (with_cosmology) cosmology_clean(&cosmo); if (with_cosmology) cosmology_clean(e.cosmology);
if (with_self_gravity) pm_mesh_clean(&mesh); if (with_self_gravity) pm_mesh_clean(e.mesh);
engine_clean(&e); engine_clean(&e);
free(params); free(params);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment