diff options
author | Byongho Lee <bhlee.kernel@gmail.com> | 2015-08-21 17:51:52 +0900 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2015-08-31 19:25:12 +0200 |
commit | ae60507e59a1cad43303a0f9e1b72ef4e5bb1e72 (patch) | |
tree | 180a89c224d665244ca3c9b1da680203b2c62d5d /find-root.h | |
parent | d7748770a78a4a44f39f4f0e629885a255d24d90 (diff) |
btrfs-progs: fix memory leaks in error path
This patch includes below fixes in error path:
1. fix memory leaks if realloc() fails
2. add missing call free_history() before return error in scrub_read_file()
Signed-off-by: Byongho Lee <bhlee.kernel@gmail.com>
Reviewed-by: Zhao Lei <zhaolei@cn.fujitsu.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'find-root.h')
0 files changed, 0 insertions, 0 deletions