diff options
author | Qu Wenruo <quwenruo@cn.fujitsu.com> | 2016-10-24 10:43:33 +0800 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2016-12-14 15:06:34 +0100 |
commit | 45f782abf3694d4cf2b61adeccf0c8c8974fc23f (patch) | |
tree | 65303a45c91fd27baa65b64cf7b81ff52752177a /find-root.c | |
parent | 8b125cdd7eba55fc4b6ed3c32ac47ad870f2b092 (diff) |
btrfs-progs: fsck: Fix patch allocation check and leak in check_fs_first_inode
Allocated 'path' in check_fs_first_inode() is not checked and for
btrfs_search_slot() error, it will leak 'path'.
Fix it.
Resolves-Coverity-CID: 1374098
Resolves-Coverity-CID: 1374099
Signed-off-by: Qu Wenruo <quwenruo@cn.fujitsu.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'find-root.c')
0 files changed, 0 insertions, 0 deletions