From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wu Guanghao Date: Mon, 30 Aug 2021 15:12:12 +0800 Subject: [PATCH 0/3] cov: fix memory leak caused by abnormal exit Message-ID: List-Id: To: lvm-devel@redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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