summaryrefslogtreecommitdiffstats
path: root/fs/jffs2/ioctl.c
diff options
context:
space:
mode:
authorLi Zefan <lizf@cn.fujitsu.com>2009-03-09 10:42:45 +0100
committerJens Axboe <jens.axboe@oracle.com>2009-03-14 21:06:52 +0100
commit059ea3318c8ede71851a52b4359fbf1ab0cec301 (patch)
tree29a70645e27947d820884b1249d0d7f26b8ea0d8 /fs/jffs2/ioctl.c
parent87092698c665e0a358caf9825ae13114343027e8 (diff)
downloadtalos-op-linux-059ea3318c8ede71851a52b4359fbf1ab0cec301.tar.gz
talos-op-linux-059ea3318c8ede71851a52b4359fbf1ab0cec301.zip
block: fix memory leak in bio_clone()
If bio_integrity_clone() fails, bio_clone() returns NULL without freeing the newly allocated bio. Signed-off-by: Li Zefan <lizf@cn.fujitsu.com> Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'fs/jffs2/ioctl.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud