]> git.ipfire.org Git - thirdparty/mdadm.git/commit
mdadm: Fix memory leak issue in check_raid()
authorWu Guanghao <wuguanghao3@huawei.com>
Tue, 14 Oct 2025 02:50:18 +0000 (10:50 +0800)
committerXiaoNi87 <xni@redhat.com>
Thu, 16 Oct 2025 14:02:02 +0000 (22:02 +0800)
commit7cb225b4949ca63f9e8298a7feb00e04c71c7e9e
tree9c3055da3bc95799f53cccdd5bda2d58a458241a
parentc425cdc9297a1f27f664b19a9d9386b43d92f7b3
mdadm: Fix memory leak issue in check_raid()

check_raid() alloc for st, but did not release it when exiting.

Signed-off-by: Wu Guanghao <wuguanghao3@huawei.com>
util.c