commit | a2a8cec68c69583b8de5409ade3cd641c7d4cef7 | [log] [tgz] |
---|---|---|
author | Theodore Ts'o <tytso@mit.edu> | Fri Nov 08 09:49:51 2019 -0500 |
committer | Theodore Ts'o <tytso@mit.edu> | Fri Nov 08 09:49:51 2019 -0500 |
tree | e0b3b2eac2999ecdc64c563f024b360d96a7ffa0 | |
parent | 6dac306792b98ae9111e8da2b2f4341592812c5a [diff] |
libext2fs: properly free the bitmaps in read_bitmap()'s error/cleanup path Use ext2fs_free_{block,inode}_bitmaps() instead of ext2fs_free_mem() to avoid some memory leaks if there is an error while calling read_bitmaps(). Signed-off-by: Theodore Ts'o <tytso@mit.edu>