]> git.ipfire.org Git - thirdparty/qemu.git/commit
riscv/sifive_u: fix a memory leak in soc_realize()
authorPan Nengyuan <pannengyuan@huawei.com>
Tue, 10 Dec 2019 07:14:37 +0000 (15:14 +0800)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Mon, 22 Jun 2020 17:08:46 +0000 (12:08 -0500)
commita6e44eee6c6567b1cbf0365bd95f9f199d8f2764
treef0cf5c79cb0c2c1fb7e9d97c4d0897e3c726e93a
parent3729ff3032599510600475f3dfd4e30d34923976
riscv/sifive_u: fix a memory leak in soc_realize()

Fix a minor memory leak in riscv_sifive_u_soc_realize()

Reported-by: Euler Robot <euler.robot@huawei.com>
Signed-off-by: Pan Nengyuan <pannengyuan@huawei.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
(cherry picked from commit bb8136df698bd565ee4f6c18d26c50dee320bfe4)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
hw/riscv/sifive_u.c