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

Free the arrays allocated in the cosmology module at the end of the run.

parent 3b5b2b56
No related branches found
No related tags found
No related merge requests found
...@@ -1058,6 +1058,7 @@ int main(int argc, char *argv[]) { ...@@ -1058,6 +1058,7 @@ 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);
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