From 08cb0b3cfcdf1464b86afe55086cece1cfa1c0f6 Mon Sep 17 00:00:00 2001 From: Chris Lalancette Date: Thu, 30 Jul 2009 16:43:34 +0200 Subject: [PATCH] Convert a few stray users of free() in libvirt.c to VIR_FREE(). Signed-off-by: Chris Lalancette --- src/libvirt.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/libvirt.c b/src/libvirt.c index c477e8e0cd..889f77f684 100644 --- a/src/libvirt.c +++ b/src/libvirt.c @@ -3016,7 +3016,7 @@ virDomainMigrate (virDomainPtr domain, ret = dconn->driver->domainMigratePrepare2 (dconn, &cookie, &cookielen, uri, &uri_out, flags, dname, bandwidth, dom_xml); - free (dom_xml); + VIR_FREE (dom_xml); if (ret == -1) goto done; if (uri == NULL && uri_out == NULL) { virLibConnError (conn, VIR_ERR_INTERNAL_ERROR, @@ -3058,8 +3058,8 @@ virDomainMigrate (virDomainPtr domain, } done: - free (uri_out); - free (cookie); + VIR_FREE (uri_out); + VIR_FREE (cookie); return ddomain; error: -- 2.47.2