commit | c16c2e2e51c2f0951fffa73c343b8fcb641108ba | [log] [tgz] |
---|---|---|
author | Wang Shilong <wangsl-fnst@cn.fujitsu.com> | Wed May 08 08:10:25 2013 +0000 |
committer | Josef Bacik <jbacik@fusionio.com> | Fri May 17 21:40:17 2013 -0400 |
tree | 4d4fe921e979bf12c98f488362afa45c5cd18429 | |
parent | 49688107527a24b0ed3780576257a1225902180b [diff] |
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>