From nobody Sat Feb 7 08:53:39 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) client-ip=216.205.24.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 216.205.24.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=1612413546; cv=none; d=zohomail.com; s=zohoarc; b=DvwSxQnJPWFSDpWBMP02EcW6/80JL4LIIiRattipkHJ4AxF+ca/i0yqb4f0u2YMwkdWFepfSCP+WSt9xGgXiDAXM6nOcllc5i99vj3TWXZcYA/4FJguuJWLmWVHRHXQ5o1554Dpwr8IvdgvvBVMgsjwc0Jpi4CDpimyU+XbsInw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1612413546; 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=GOMKFDPKlZS4re5YE2yl6BD3az63SEMQtcHRRocWiLI=; b=emssNg8u+vCw4wGwnL0tN4bCp6bqzzv+fURhiAaFvdrKUaJXcihHWK+iM6xlFS6M+vcFpp3dYJzvtJ+0gvlcNXezSlUqP7nqD1kMKEgwVQ2/f/rwE62YxUKg7oEBGoCOWPKefSbAHv1gWHK3h8xU2fP8UI8V4QCJDc3W+HPkepg= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.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 [216.205.24.124]) by mx.zohomail.com with SMTPS id 1612413546265316.1442919070978; Wed, 3 Feb 2021 20:39:06 -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-405-KNhJ3TXtNCOS1Z-w1yAGRw-1; Wed, 03 Feb 2021 23:39:02 -0500 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 759EA1020C29; Thu, 4 Feb 2021 04:38:56 +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 5172E101E66C; Thu, 4 Feb 2021 04:38:56 +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 E3B4557DFD; Thu, 4 Feb 2021 04:38:55 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 1144ceet011313 for ; Wed, 3 Feb 2021 23:38:40 -0500 Received: by smtp.corp.redhat.com (Postfix) id 35C89100AE4D; Thu, 4 Feb 2021 04:38:40 +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 008A2100763D for ; Thu, 4 Feb 2021 04:38:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1612413545; 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=GOMKFDPKlZS4re5YE2yl6BD3az63SEMQtcHRRocWiLI=; b=Keq09nANaVcVdrrDUWkKWCt4WyXp5fmdJSQfS/g0FxxBoIUl4+L7qGCA8OVernlQm2h3pT N0pBGrwwtorkoI8N4WZ/YQu1ZbxEV4rK/bNHtaUgm1ni0jJrVTIYnrAdyl8wQEae64y9NM 5b+dxnI41bAO9vPqJUO7CXo1uUGvG/E= X-MC-Unique: KNhJ3TXtNCOS1Z-w1yAGRw-1 From: Laine Stump To: libvir-list@redhat.com Subject: [libvirt PATCH 06/15] interface: replace VIR_FREE with g_free in all *Dispose() functions Date: Wed, 3 Feb 2021 23:38:25 -0500 Message-Id: <20210204043834.191994-7-laine@redhat.com> In-Reply-To: <20210204043834.191994-1-laine@redhat.com> References: <20210204043834.191994-1-laine@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 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.84 on 10.5.11.22 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/interface/interface_backend_netcf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/interface/interface_backend_netcf.c b/src/interface/interf= ace_backend_netcf.c index df04484c59..e40a4cb108 100644 --- a/src/interface/interface_backend_netcf.c +++ b/src/interface/interface_backend_netcf.c @@ -84,7 +84,7 @@ virNetcfDriverStateDispose(void *obj) if (_driver->lockFD !=3D -1) virPidFileRelease(_driver->stateDir, "driver", _driver->lockFD); =20 - VIR_FREE(_driver->stateDir); + g_free(_driver->stateDir); } =20 =20 --=20 2.29.2