mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-09 10:34:58 -06: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
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue