commit | b48735e5d562eaffb96cf98a91da212176f1534c | [log] [tgz] |
---|---|---|
author | leixiang <leixiang@kylinos.cn> | Wed Jul 10 17:45:51 2024 +0800 |
committer | Will Deacon <will@kernel.org> | Fri Aug 30 11:11:12 2024 +0100 |
tree | 8f3540bd109fa264d1e2c856a5596392dd86d9b4 | |
parent | 100fade1ac13f242d6fce9a3a7eab3f1f92f144b [diff] |
disk/core: Fix memory leakage in open all disks Fix memory leakage in disk/core disk_image__open_all when malloc disk failed, should free the disks that already malloced. Signed-off-by: Lei Xiang <leixiang@kylinos.cn> Suggested-by: Xie Ming <xieming@kylinos.cn> Suggested-by: Alexandru Elisei <alexandru.elisei@arm.com> Suggested-by: Will Deacon <will@kernel.org> Signed-off-by: Will Deacon <will@kernel.org>