Re: [PATCH 2/8] microblaze: fix leak of fdevice tree blob

2019-10-01 Thread Philippe Mathieu-Daudé
On 10/1/19 3:36 PM, Paolo Bonzini wrote: The device tree blob returned by load_device_tree is malloced. Free it before returning. Signed-off-by: Paolo Bonzini --- hw/microblaze/boot.c | 1 + 1 file changed, 1 insertion(+) diff --git a/hw/microblaze/boot.c b/hw/microblaze/boot.c index bade4d

[PATCH 2/8] microblaze: fix leak of fdevice tree blob

2019-10-01 Thread Paolo Bonzini
The device tree blob returned by load_device_tree is malloced. Free it before returning. Signed-off-by: Paolo Bonzini --- hw/microblaze/boot.c | 1 + 1 file changed, 1 insertion(+) diff --git a/hw/microblaze/boot.c b/hw/microblaze/boot.c index bade4d2..d1d7dfb 100644 --- a/hw/microblaze/boot.c