spapr: fix possible memory leak
commita21a7a701252717f05defee8a1a33d72c28fabb7
authorGonglei <arei.gonglei@huawei.com>
Sat, 26 Jul 2014 04:45:33 +0000 (26 12:45 +0800)
committerAlexander Graf <agraf@suse.de>
Mon, 8 Sep 2014 10:50:47 +0000 (8 12:50 +0200)
treeb73184d83b682b706552a826c500fda7435e2d2e
parent261265cc912b375649fcdf7aded0f87359dba544
spapr: fix possible memory leak

get_boot_devices_list() will malloc memory, spapr_finalize_fdt
doesn't free it.

Signed-off-by: Chenliang <chenliang88@huawei.com>
Signed-off-by: Gonglei <arei.gonglei@huawei.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
hw/ppc/spapr.c