diff options
Diffstat (limited to 'e2fsprogs/ext2fs/icount.c')
-rw-r--r-- | e2fsprogs/ext2fs/icount.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/e2fsprogs/ext2fs/icount.c b/e2fsprogs/ext2fs/icount.c index 01677775f..7ae2a5c0f 100644 --- a/e2fsprogs/ext2fs/icount.c +++ b/e2fsprogs/ext2fs/icount.c | |||
@@ -59,12 +59,9 @@ void ext2fs_free_icount(ext2_icount_t icount) | |||
59 | return; | 59 | return; |
60 | 60 | ||
61 | icount->magic = 0; | 61 | icount->magic = 0; |
62 | if (icount->list) | 62 | ext2fs_free_mem(&icount->list); |
63 | ext2fs_free_mem(&icount->list); | 63 | ext2fs_free_inode_bitmap(icount->single); |
64 | if (icount->single) | 64 | ext2fs_free_inode_bitmap(icount->multiple); |
65 | ext2fs_free_inode_bitmap(icount->single); | ||
66 | if (icount->multiple) | ||
67 | ext2fs_free_inode_bitmap(icount->multiple); | ||
68 | ext2fs_free_mem(&icount); | 65 | ext2fs_free_mem(&icount); |
69 | } | 66 | } |
70 | 67 | ||