[lvm-devel] [PATCH 0/3] cov: fix memory leak caused by abnormal exit
Wu Guanghao
wuguanghao3 at huawei.com
Mon Aug 30 07:12:12 UTC 2021
Several possible memory leaks were discovered through tool scans
wuguanghao (3):
cmdlib_lvm2_init: release cmd after registration failed
read_adopt_file: Set the default value of r to NULL,
and release r when exiting abnormally
read_adopt_file: fix memory leak
daemons/lvmlockd/lvmlockd-core.c | 7 +++++--
tools/lvmcmdlib.c | 4 +++-
2 files changed, 8 insertions(+), 3 deletions(-)
--
2.23.0
More information about the lvm-devel
mailing list