Add a missed free()

This commit is contained in:
Alex Young
2012-06-21 15:55:48 +01:00
parent 43e95dc4db
commit 322eae137b

View File

@@ -40,6 +40,7 @@ struct bitset_mapping* build_allocation_map(int fd, uint64_t size, int resolutio
/* realloc makes valgrind complain a lot */
memcpy(fiemap, fiemap_count, sizeof(struct fiemap));
free( fiemap_count );
fiemap->fm_extent_count = fiemap->fm_mapped_extents;
fiemap->fm_mapped_extents = 0;