[lvm-devel] [PATCH 0/3] cov: fix memory leak caused by abnormal exit

Zhiqiang Liu liuzhiqiang26 at huawei.com
Fri Sep 10 02:21:50 UTC 2021


ping...

On 2021/8/30 15:12, Wu Guanghao wrote:
> 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