]> git.ipfire.org Git - thirdparty/mdadm.git/commit
Fix memory leak in file Kill
authorGuanqin Miao <miaoguanqin@huawei.com>
Mon, 24 Apr 2023 08:06:35 +0000 (16:06 +0800)
committerJes Sorensen <jes@trained-monkey.org>
Fri, 1 Sep 2023 16:08:06 +0000 (12:08 -0400)
commit8fd0c565b09ba449418d7d604ceba66313246152
tree94c1a0165c8700541db68baee63af877c9e217ae
parente9fb93af0f769d147a13e86ab4e5d0aeb935e9fc
Fix memory leak in file Kill

When we test mdadm with asan, we found some memory leaks in Kill.c
We fix these memory leaks based on code logic.

Signed-off-by: Guanqin Miao <miaoguanqin@huawei.com>
Signed-off-by: Li Xiao Keng <lixiaokeng@huawei.com>
Acked-by: Mariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com>
Signed-off-by: Jes Sorensen <jes@trained-monkey.org>
Kill.c