From nobody Mon Feb 9 12:15:30 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 63.128.21.124 as permitted sender) client-ip=63.128.21.124; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 63.128.21.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1612409732; cv=none; d=zohomail.com; s=zohoarc; b=jROFkMYpYFelLNSRC6Xb+kOjPIfqRDk7mftNCi/4cVIS6OT2UqwVv6S/Kp6sD92F4+SZp6V9sMrgwRCcuGpbKq4VdQSL+lsjRkU5G31Sv+XAfDWg3TG1kCTPtKhQCK4yI2wv0WpF97ND2Y3CNwiClW9xvPa0e7qYPCfh0vKlZoc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1612409732; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=TYR64xksZvIsdgUlSiu/1GRsOwBwACmEKIEtcR+vvCM=; b=JJH6xUVUcSsFose8of0e/xlucg7alNtjuXWN/ZWqfHfq77nlTlehV8nmjwnH2UHKjwi91Ju8hJtqkXB0A64vtWVmZ9WHNt8v9hkrhHKenlFAjlIxox/SBF2rXmwJFojhzo4EX7oSKHXd+cHqDwc5iSsAKV0y9Epjl953crs85N8= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 63.128.21.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [63.128.21.124]) by mx.zohomail.com with SMTPS id 16124097326364.677028634503358; Wed, 3 Feb 2021 19:35:32 -0800 (PST) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-401-fnR2aUfbOzylv0WjuK_gIA-1; Wed, 03 Feb 2021 22:32:49 -0500 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id C35D710066ED; Thu, 4 Feb 2021 03:32:43 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 9F7D75B695; Thu, 4 Feb 2021 03:32:43 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 66C1758078; Thu, 4 Feb 2021 03:32:43 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 1143TXWj031548 for ; Wed, 3 Feb 2021 22:29:33 -0500 Received: by smtp.corp.redhat.com (Postfix) id 502AC779FB; Thu, 4 Feb 2021 03:29:33 +0000 (UTC) Received: from vhost2.laine.org (ovpn-112-199.phx2.redhat.com [10.3.112.199]) by smtp.corp.redhat.com (Postfix) with ESMTP id 1ADD26091B for ; Thu, 4 Feb 2021 03:29:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1612409731; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=TYR64xksZvIsdgUlSiu/1GRsOwBwACmEKIEtcR+vvCM=; b=R+djkKHRy0pUusXiGHuKWSWwe5jREOulpn0ox1CB/AAl+sasoxTNDeFnLjYywu0qK9T4MP zkQotoKIjnNxcX+j6t41RjJm5f8lFlo3zh+F4eQsEgm22gLJ5RCJb93jI5HONLjwc7/Bqg HAq5hyEfXEi62klFjCDJ0Lk489TtH+o= X-MC-Unique: fnR2aUfbOzylv0WjuK_gIA-1 From: Laine Stump To: libvir-list@redhat.com Subject: [libvirt PATCH 08/21] vmx: replace VIR_FREE with g_free in all vir*Free() functions Date: Wed, 3 Feb 2021 22:29:04 -0500 Message-Id: <20210204032917.162962-9-laine@redhat.com> In-Reply-To: <20210204032917.162962-1-laine@redhat.com> References: <20210204032917.162962-1-laine@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-loop: libvir-list@redhat.com X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=libvir-list-bounces@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) Content-Type: text/plain; charset="utf-8" Signed-off-by: Laine Stump --- src/vmx/vmx.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/vmx/vmx.c b/src/vmx/vmx.c index 56318fc8b2..db535ba260 100644 --- a/src/vmx/vmx.c +++ b/src/vmx/vmx.c @@ -650,10 +650,10 @@ virVMXDomainDefNamespaceFree(void *nsdata) struct virVMXDomainDefNamespaceData *data =3D nsdata; =20 if (data) { - VIR_FREE(data->datacenterPath); - VIR_FREE(data->moref); + g_free(data->datacenterPath); + g_free(data->moref); } - VIR_FREE(data); + g_free(data); } =20 static int --=20 2.29.2