mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-22 12:35:17 +00:00
qemu: Use VIR_STEAL_PTR macro
Signed-off-by: Marc Hartmayer <mhartmay@linux.ibm.com> Reviewed-by: Bjoern Walk <bwalk@linux.ibm.com> Reviewed-by: Boris Fiuczynski <fiuczy@linux.ibm.com> Reviewed-by: Stefan Zimmermann <stzi@linux.ibm.com> Reviewed-by: John Ferlan <jferlan@redhat.com>
This commit is contained in:
parent
3a286a4e26
commit
a4c12a5096
@ -2921,8 +2921,7 @@ qemuDomainObjPrivateXMLParse(xmlXPathContextPtr ctxt,
|
||||
}
|
||||
}
|
||||
|
||||
priv->qemuCaps = qemuCaps;
|
||||
qemuCaps = NULL;
|
||||
VIR_STEAL_PTR(priv->qemuCaps, qemuCaps);
|
||||
}
|
||||
VIR_FREE(nodes);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user