This avoids increasing the memory footprint of e2fsck by 10%!
+2001-07-26 Theodore Tso <tytso@valinux.com>
+
+ * pass1.c (e2fsck_pass1): Free ctx->block_ea_map at the end of
+ pass 1.
+
2001-07-25 Theodore Tso <tytso@valinux.com>
* pass1.c (check_ext_attr): Skip zero-length EA entries.
if (ctx->invalid_bitmaps)
handle_fs_bad_blocks(ctx);
+ /* We don't need the block_ea_map any more */
+ if (ctx->block_ea_map) {
+ ext2fs_free_block_bitmap(ctx->block_ea_map);
+ ctx->block_ea_map = 0;
+ }
+
if (ctx->flags & E2F_FLAG_RESTART) {
/*
* Only the master copy of the superblock and block