diff options
author | Jing Zhang <zj.barak@gmail.com> | 2010-05-12 00:00:00 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2010-05-12 00:00:00 -0400 |
commit | b720303df7352d4a7a1f61e467e0a124913c0d41 (patch) | |
tree | d0c102111ed28ced2d3a0dbfed987f9b8ed5db37 /init | |
parent | c26d0bad3d0e951487e5dee36632dd3817f42b10 (diff) |
ext4: fix memory leaks in error path handling of ext4_ext_zeroout()
When EIO occurs after bio is submitted, there is no memory free
operation for bio, which results in memory leakage. And there is also
no check against bio_alloc() for bio.
Acked-by: Dave Kleikamp <shaggy@linux.vnet.ibm.com>
Signed-off-by: Jing Zhang <zj.barak@gmail.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions