Whamcloud - gitweb
libext2fs : Fix memory leaks in ext2fs_extent_open()
authorManish Katiyar <mkatiyar@gmail.com>
Fri, 15 Aug 2008 20:56:43 +0000 (02:26 +0530)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 16 Aug 2008 14:52:25 +0000 (10:52 -0400)
commitf93d9f653c0a617556727a9cafb60486b58ae6a8
tree92106ba3223e5016e62f18b0bef3c9ee85cca244
parentf64b36d138813f4128dd7d58d6131a85e5e50c99
libext2fs : Fix memory leaks in ext2fs_extent_open()

Memory allocated for the ext2_extent_handle is not getting freed from
all the return paths in case of error. Below patch fixes it.

Signed-off-by: "Manish Katiyar" <mkatiyar@gmail.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
lib/ext2fs/extent.c