]> git.ipfire.org Git - thirdparty/libvirt.git/commit
xen: Avoid double free of virDomainDef in xenDaemonCreateXML
authorStefan Bader <stefan.bader@canonical.com>
Wed, 31 Jul 2013 09:59:21 +0000 (11:59 +0200)
committerJim Fehlig <jfehlig@suse.com>
Wed, 31 Jul 2013 22:15:56 +0000 (16:15 -0600)
commit9d0557b9655fe4a3f31af2e1cc2f33de8acfaa7d
treef36ab678df80bfbf4d18379096026276c2f47a1d
parent2fe2470181ce3722788fd7125d3f1f9be87e6278
xen: Avoid double free of virDomainDef in xenDaemonCreateXML

The virDomainDef is allocated by the caller and also used after
calling to xenDaemonCreateXML. So it must not get freed by the
callee.

Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
src/xen/xend_internal.c