commit | adc4e77d89d9a423c3fbe6457676b020c9ad3a64 | [log] [tgz] |
---|---|---|
author | Manish Katiyar <mkatiyar@gmail.com> | Fri Jul 11 14:42:57 2008 -0400 |
committer | Theodore Ts'o <tytso@mit.edu> | Fri Jul 11 14:45:58 2008 -0400 |
tree | 93a6d32f94db8c2f3f044600da54f39c32f5913f | |
parent | 92e49d85b4528362d349ef8df082b695f6ecbea4 [diff] |
libext2fs: fix potential memory leak in ext2fs_initialize() If we fail doing ext2fs_allocate_block_bitmap() or ext2fs_allocate_inode_bitmap() we directly goto cleanup and don't free the memory allocated to buf. Signed-off-by: "Manish Katiyar" <mkatiyar@gmail.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>