aboutsummaryrefslogtreecommitdiff
path: root/hw/arm/highbank.c
diff options
context:
space:
mode:
authorGonglei <arei.gonglei@huawei.com>2015-03-05 10:58:32 +0800
committerMichael Tokarev <mjt@tls.msk.ru>2015-03-19 11:11:55 +0300
commit6e05a12f8f7f32a3fecbeb0c572d549a5f6e9177 (patch)
tree32b8b7e4255cb5efdb4c8ab354efd02a19cc3c55 /hw/arm/highbank.c
parent293811f6c1630e3b37aa9d214c6596ce854ab2c7 (diff)
arm: fix memory leak
Cc: Michael Tokarev <mjt@tls.msk.ru> Cc: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Gonglei <arei.gonglei@huawei.com> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'hw/arm/highbank.c')
-rw-r--r--hw/arm/highbank.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/arm/highbank.c b/hw/arm/highbank.c
index a92cdc3322..ddd10dc26f 100644
--- a/hw/arm/highbank.c
+++ b/hw/arm/highbank.c
@@ -282,6 +282,7 @@ static void calxeda_init(MachineState *machine, enum cxmachines machine_id)
if (load_image_targphys("sysram.bin", 0xfff88000, filesize) < 0) {
hw_error("Unable to load %s\n", bios_name);
}
+ g_free(sysboot_filename);
} else {
hw_error("Unable to find %s\n", bios_name);
}