From 48a38a040f61dcd5fe283036767b37155623c8ee Mon Sep 17 00:00:00 2001 From: "Daniel P. Berrange" Date: Fri, 6 Sep 2013 19:08:26 +0100 Subject: Remove use of VIR_FREE from code We don't have access to the libvirt memory APIs to replace VIR_FREE with free(). Signed-off-by: Daniel P. Berrange --- libvirt-qemu-override.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libvirt-qemu-override.c') diff --git a/libvirt-qemu-override.c b/libvirt-qemu-override.c index db69617..1707308 100644 --- a/libvirt-qemu-override.c +++ b/libvirt-qemu-override.c @@ -78,7 +78,7 @@ libvirt_qemu_virDomainQemuMonitorCommand(PyObject *self ATTRIBUTE_UNUSED, return VIR_PY_NONE; py_retval = PyString_FromString(result); - VIR_FREE(result); + free(result); return py_retval; } @@ -108,7 +108,7 @@ libvirt_qemu_virDomainQemuAgentCommand(PyObject *self ATTRIBUTE_UNUSED, PyObject return VIR_PY_NONE; py_retval = PyString_FromString(result); - VIR_FREE(result); + free(result); return py_retval; } /************************************************************************ -- cgit