diff --git a/scan.c b/scan.c index 6e6670e7..cb4bc86b 100644 --- a/scan.c +++ b/scan.c @@ -684,5 +684,7 @@ void state_scan(struct snapraid_state* state, int output) } tommy_list_foreach(&scanlist, (tommy_foreach_func*)free); + + printf("Using %u MiB of memory.\n", (unsigned)(malloc_counter() / 1024 / 1024)); } diff --git a/state.c b/state.c index 57f4c4c1..4d3a387a 100644 --- a/state.c +++ b/state.c @@ -1009,8 +1009,6 @@ void state_read(struct snapraid_state* state) printf("\tblock %u\n", count_block); printf("\tsymlink %u\n", count_link); } - - printf("Using %u MiB of memory.\n", (unsigned)(malloc_counter() / 1024 / 1024)); } void state_write(struct snapraid_state* state)