summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/relocation.c
diff options
context:
space:
mode:
authorWang Shilong <wangsl-fnst@cn.fujitsu.com>2013-05-08 08:10:25 +0000
committerJosef Bacik <jbacik@fusionio.com>2013-05-17 21:40:17 -0400
commitc16c2e2e51c2f0951fffa73c343b8fcb641108ba (patch)
tree4d4fe921e979bf12c98f488362afa45c5cd18429 /fs/btrfs/relocation.c
parent49688107527a24b0ed3780576257a1225902180b (diff)
downloadblackbird-obmc-linux-c16c2e2e51c2f0951fffa73c343b8fcb641108ba.tar.gz
blackbird-obmc-linux-c16c2e2e51c2f0951fffa73c343b8fcb641108ba.zip
Btrfs: fix possible memory leak in the find_parent_nodes()
In the find_parent_nodes(), if read_tree_block() fails, we can not return directly, we should free some allocated memory otherwise memory leak happens. Signed-off-by: Wang Shilong <wangsl-fnst@cn.fujitsu.com> Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Diffstat (limited to 'fs/btrfs/relocation.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud