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

spapr: fix memory leak in spapr_memory_pre_plug()



The string returned by object_property_get_str() is dynamically allocated.

(Spotted by Coverity, CID 1375942)

Signed-off-by: default avatarGreg Kurz <groug@kaod.org>
Signed-off-by: default avatarDavid Gibson <david@gibson.dropbear.id.au>
(cherry picked from commit 8a9e0e7b)
Signed-off-by: default avatarMichael Roth <mdroth@linux.vnet.ibm.com>
parent 7f4c9f5f
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