microblaze: fix leak of fdevice tree blob
commit100781a8cd61927d8442bd0b02dfc10c5bb89bcb
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 1 Oct 2019 13:36:22 +0000 (1 15:36 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 4 Oct 2019 16:49:16 +0000 (4 18:49 +0200)
tree23ce24f00eddfeb7f142254c6020222374a45ac3
parentf5f72e8f31f22ba5ee43db5cb9481206fc661f76
microblaze: fix leak of fdevice tree blob

The device tree blob returned by load_device_tree is malloced.
Free it before returning.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
hw/microblaze/boot.c