Skip to content
Commit 592ee400 authored by Greg Kurz's avatar Greg Kurz Committed by Michael Roth
Browse files

target/ppc: fix memory leak in kvmppc_is_mem_backend_page_size_ok()



The string returned by object_property_get_str() is dynamically allocated.

Signed-off-by: default avatarGreg Kurz <groug@kaod.org>
Reviewed-by: default avatarThomas Huth <thuth@redhat.com>
Signed-off-by: default avatarDavid Gibson <david@gibson.dropbear.id.au>
(cherry picked from commit 2d3e302e)
Signed-off-by: default avatarMichael Roth <mdroth@linux.vnet.ibm.com>
parent 917a5b9f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment