summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorPhillip Lougher2010-04-23 01:24:22 +0200
committerPhillip Lougher2010-04-25 03:09:05 +0200
commit370ec3d1ed9d76ba992e5b9b7d7d10700014d436 (patch)
tree87065ba9c5f19b29c172267bcd971d655a7d6af6 /fs
parentsquashfs: fix warn_on when root inode is corrupted (diff)
downloadkernel-qcow2-linux-370ec3d1ed9d76ba992e5b9b7d7d10700014d436.tar.gz
kernel-qcow2-linux-370ec3d1ed9d76ba992e5b9b7d7d10700014d436.tar.xz
kernel-qcow2-linux-370ec3d1ed9d76ba992e5b9b7d7d10700014d436.zip
squashfs: add missing buffer free
Signed-off-by: Phillip Lougher <phillip@lougher.demon.co.uk>
Diffstat (limited to 'fs')
-rw-r--r--fs/squashfs/super.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/squashfs/super.c b/fs/squashfs/super.c
index 07ceeb8d8f53..48b6f4a385a6 100644
--- a/fs/squashfs/super.c
+++ b/fs/squashfs/super.c
@@ -354,6 +354,7 @@ static void squashfs_put_super(struct super_block *sb)
kfree(sbi->id_table);
kfree(sbi->fragment_index);
kfree(sbi->meta_index);
+ kfree(sbi->inode_lookup_table);
kfree(sb->s_fs_info);
sb->s_fs_info = NULL;
}