]> git.ipfire.org Git - thirdparty/qemu.git/commit
qom: Fix memory leak in object_property_set_link()
authorVlad Yasevich <vyasevic@redhat.com>
Fri, 15 Nov 2013 17:09:47 +0000 (12:09 -0500)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Mon, 9 Dec 2013 17:40:30 +0000 (11:40 -0600)
commit991a5f378261b759b2af2354703c504906418d35
tree5f9192301e6e81b97af3a613e27ec1e59b6e802f
parent817a872cc6e52abe304ec8c0a94c69d4f2b450ec
qom: Fix memory leak in object_property_set_link()

Save the result of the call to object_get_canonical_path()
so we can free it.

Cc: qemu-stable@nongnu.org
Signed-off-by: Vlad Yasevich <vyasevic@redhat.com>
Reviewed-by: Amos Kong <akong@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
(cherry picked from commit 2d3aa28cc2cf382aa04cd577e0be542175eea9bd)

Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
qom/object.c