mirror of
https://github.com/qemu/qemu.git
synced 2025-08-15 13:47:03 +00:00
ppc/spapr_drc: fix memory leak
fix CID 1311373. Signed-off-by: Gonglei <arei.gonglei@huawei.com> Message-Id: <1436489490-236-3-git-send-email-arei.gonglei@huawei.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
02dae26ac4
commit
586d2142a9
@ -422,6 +422,7 @@ static void realize(DeviceState *d, Error **errp)
|
|||||||
error_free(err);
|
error_free(err);
|
||||||
object_unref(OBJECT(drc));
|
object_unref(OBJECT(drc));
|
||||||
}
|
}
|
||||||
|
g_free(child_name);
|
||||||
DPRINTFN("drc realize complete");
|
DPRINTFN("drc realize complete");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user