On Wed, 22 Feb 2023 16:30:53 +0800 miaoguanqin <miaoguanqin@xxxxxxxxxx> wrote: > When we test mdadm with asan,we found some memory leaks. > We fix these memory leaks based on code logic. > > Signed-off-by: miaoguanqin <miaoguanqin@xxxxxxxxxx> > --- > Assemble.c | 16 +++++++++++++--- > Kill.c | 10 +++++++++- > Manage.c | 16 +++++++++++++++- > mdadm.c | 6 ++++++ > 4 files changed, 43 insertions(+), 5 deletions(-) > Acked-by: Mariusz Tkaczyk <mariusz.tkaczyk@xxxxxxxxxxxxxxx> Coly, could you please take a look? Thanks, Mariusz