Fixed a memory leak in scanning

This commit is contained in:
Andrea Mazzoleni 2011-03-19 00:34:01 +01:00
parent f443a7f089
commit d978701783

2
scan.c
View file

@ -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);
}