]> git.baikalelectronics.ru Git - kernel.git/commit
udf: Fix memory leak when mounting
authorJan Kara <jack@suse.cz>
Wed, 27 Jun 2012 20:27:05 +0000 (22:27 +0200)
committerJan Kara <jack@suse.cz>
Mon, 9 Jul 2012 10:03:12 +0000 (12:03 +0200)
commit69e9e5a5fec964200ef5d59124ebf0ed84a81272
tree0cbb25756bc73286dc232c26d445e4de381f308f
parente4d59287039243be0225d9514447d0725220a0ee
udf: Fix memory leak when mounting

When we are mounting filesystem, we can load one partition table before
finding out that we cannot complete processing of logical volume descriptor
and trying the reserve descriptor. Free the table properly before trying
the reserve descriptor.

Signed-off-by: Jan Kara <jack@suse.cz>
fs/udf/super.c