projects
/
platform
/
upstream
/
f2fs-tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
370f8c4
)
fsck.f2fs: free node_blk to avoid memory leak
author
Yunlong Song
<yunlong.song@huawei.com>
Wed, 21 Sep 2016 13:01:55 +0000
(21:01 +0800)
committer
Jaegeuk Kim
<jaegeuk@kernel.org>
Thu, 22 Sep 2016 18:40:37 +0000
(11:40 -0700)
Signed-off-by: Yunlong Song <yunlong.song@huawei.com>
Acked-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fsck/fsck.c
patch
|
blob
|
history
diff --git
a/fsck/fsck.c
b/fsck/fsck.c
index
301685b
..
3c28f2a
100644
(file)
--- a/
fsck/fsck.c
+++ b/
fsck/fsck.c
@@
-1695,6
+1695,7
@@
static void fix_hard_links(struct f2fs_sb_info *sbi)
node = node->next;
free(tmp);
}
+ free(node_blk);
}
static void fix_nat_entries(struct f2fs_sb_info *sbi)