[Ocfs2-tools-devel] [PATCH 0/8] Fix some memory leak problems in ocfs2-tools-1.8.4

piaojun piaojun at huawei.com
Wed Mar 18 00:35:41 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:

Signed-off-by: Jun Piao <piaojun at huawei.com>
Reviewed-by: Alex Chen <alex.chen at huawei.com>

[PATCH 1/8] Fix the memory leak problem in journal.c
[PATCH 2/8] Fix the memory leak problem in freefs.c
[PATCH 3/8] Fix the memory leak problem in mount.ocfs2.c
[PATCH 4/8] Fix the memory leak problem in ocfs2_hb_ctl.c
[PATCH 5/8] Fix the memory leak problem in tunefs.ocfs2
[PATCH 6/8] Fix the memory leak problem in mkfs.c
[PATCH 7/8] Fix the memory leak problem in o2image.c
[PATCH 8/8] Fix the memory leak problem in image.c

 fsck.ocfs2/journal.c        |    4 +
 libocfs2/freefs.c           |   32 ++++++++++
 libocfs2/image.c            |    4 -
 mkfs.ocfs2/mkfs.c           |  135 +++++++++++++++++++++++++++++++++++++++++++-
 mount.ocfs2/mount.ocfs2.c   |   14 +---
 o2image/o2image.c           |    3
 ocfs2_hb_ctl/ocfs2_hb_ctl.c |    6 +
 tunefs.ocfs2/libocfs2ne.c   |    4 +
 tunefs.ocfs2/ocfs2ne.c      |    4 +
 9 files changed, 191 insertions(+), 15 deletions(-)




More information about the Ocfs2-tools-devel mailing list