fs/bio-integrity: fix a potential mem leak
authorGu Zheng <[email protected]>
Wed, 11 Sep 2013 21:23:21 +0000 (14:23 -0700)
committerLinus Torvalds <[email protected]>
Wed, 11 Sep 2013 22:58:21 +0000 (15:58 -0700)
commitbc5c8f0783a4a2b43d05155782e71a22a91b26a5
treecd972f6507e537ef5eec06cd522b5a2bfa27535d
parenta6b088875b5cfc2be95242826f31523214c083a7
fs/bio-integrity: fix a potential mem leak

Free the bio_integrity_pool in the fail path of biovec_create_pool in
function bioset_integrity_create().

Signed-off-by: Gu Zheng <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
fs/bio-integrity.c