[Ocfs2-tools-devel] [PATCH 0/8 V2] Fix some memory leak problems in ocfs2-tools-1.8.4
piaojun
piaojun at huawei.com
Sun Mar 29 18:35:25 PDT 2015
When I was reviewing the code of ocfs2-tools-1.8.4, some memory leak
problems were found. The summarization of the problems are listed below:
changelog:
v2 <- v1:
-- Take Mark's advice to replace free() with ocfs2_free().
-- Correct all the whitespace errors in the patches.
fsck.ocfs2/journal.c | 4 +
libocfs2/freefs.c | 29 ++++++++++++
libocfs2/image.c | 4 -
mkfs.ocfs2/mkfs.c | 105 ++++++++++++++++++++++++++++++++++++++++++--
mount.ocfs2/mount.ocfs2.c | 16 +++---
o2image/o2image.c | 3 -
ocfs2_hb_ctl/ocfs2_hb_ctl.c | 6 ++
tunefs.ocfs2/libocfs2ne.c | 2
tunefs.ocfs2/ocfs2ne.c | 4 +
9 files changed, 157 insertions(+), 16 deletions(-)
More information about the Ocfs2-tools-devel
mailing list