qemu-e2k/hw/microblaze
Gonglei 4d850406a8 microblaze: fix memory leak
When not assign a -dtb argument, the variable dtb_filename
storage returned from qemu_find_file(), which should be freed
after use. Alternatively we define a local variable filename,
with 'char *' type, free after use.

Signed-off-by: Gonglei <arei.gonglei@huawei.com>
Reviewed-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
2015-04-30 16:06:18 +03:00
..
boot.c microblaze: fix memory leak 2015-04-30 16:06:18 +03:00
boot.h hw/microblaze: Add support for loading initrd images 2013-10-24 22:56:48 +02:00
Makefile.objs Microblaze: Convert Microblaze-pic handling to GPIOs 2014-01-14 11:08:36 +10:00
petalogix_ml605_mmu.c hw: Convert from BlockDriverState to BlockBackend, mostly 2014-10-20 14:02:25 +02:00
petalogix_s3adsp1800_mmu.c hw: Convert from BlockDriverState to BlockBackend, mostly 2014-10-20 14:02:25 +02:00