aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ext2fs/freefs.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ext2fs/freefs.c')
-rw-r--r--lib/ext2fs/freefs.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/ext2fs/freefs.c b/lib/ext2fs/freefs.c
index 1e01ef5f..5c35bb68 100644
--- a/lib/ext2fs/freefs.c
+++ b/lib/ext2fs/freefs.c
@@ -42,8 +42,6 @@ void ext2fs_free(ext2_filsys fs)
ext2fs_free_block_bitmap(fs->block_map);
if (fs->inode_map)
ext2fs_free_inode_bitmap(fs->inode_map);
- if (fs->image_header)
- ext2fs_free_mem(&fs->image_header);
if (fs->badblocks)
ext2fs_badblocks_list_free(fs->badblocks);
@@ -55,11 +53,6 @@ void ext2fs_free(ext2_filsys fs)
if (fs->icache)
ext2fs_free_inode_cache(fs->icache);
- if (fs->mmp_buf)
- ext2fs_free_mem(&fs->mmp_buf);
- if (fs->mmp_cmp)
- ext2fs_free_mem(&fs->mmp_cmp);
-
fs->magic = 0;
ext2fs_free_mem(&fs);