diff --git a/scan.c b/scan.c index e87a0c03..74bb8634 100644 --- a/scan.c +++ b/scan.c @@ -277,5 +277,7 @@ void state_scan(struct snapraid_state* state) printf("\tremoved %d\n", total.count_remove); printf("\tadded %d\n", total.count_insert); } + + free(scan); }