aboutsummaryrefslogtreecommitdiff
path: root/hw/mips/mips_jazz.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2019-10-01 15:36:25 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2019-10-04 18:49:17 +0200
commit0287d89f3e3ef11b71e229b1928f1b9b0634a58a (patch)
treee93da1a3e536175b7872fe81a4cd942b082a6302 /hw/mips/mips_jazz.c
parent266a880e31d58539a1c7f0177690a047f5016505 (diff)
downloadqemu-0287d89f3e3ef11b71e229b1928f1b9b0634a58a.zip
qemu-0287d89f3e3ef11b71e229b1928f1b9b0634a58a.tar.gz
qemu-0287d89f3e3ef11b71e229b1928f1b9b0634a58a.tar.bz2
mips: fix memory leaks in board initialization
They are not a big deal, but they upset asan. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'hw/mips/mips_jazz.c')
-rw-r--r--hw/mips/mips_jazz.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/mips/mips_jazz.c b/hw/mips/mips_jazz.c
index c967b97..8d010a0 100644
--- a/hw/mips/mips_jazz.c
+++ b/hw/mips/mips_jazz.c
@@ -362,6 +362,8 @@ static void mips_jazz_init(MachineState *machine,
/* LED indicator */
sysbus_create_simple("jazz-led", 0x8000f000, NULL);
+
+ g_free(dmas);
}
static