From nobody Sat Feb 7 08:55:01 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=1612413613; cv=none; d=zohomail.com; s=zohoarc; b=ecbp8FTOrlMYdSrLLLj0XWg7UPYWqiEWZydsnVdsaXKatt3qlxv9OBMqrBKoYiueAlmys/7RCvDvcsZnOL68gYvY+QLZmT/Fn0QEArx0HSHLRqQgnkY6GzLDyPcbu0oXgHrNio6CNSDmVs8mCUvnPerjgh/OjPqu+yJ3FCDnpJs= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1612413613; 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=aENN69D9dP4xIg1cIZvDRiQv6KjH2iRQkeVTHue/2AA=; b=Ox3WjTgtExVaumZfwmbMmIYGc7psFGp7mTcygYiZ5VqpiHSvVmUoqCdrRC5ZV3e8+biWmSYVvV0Q7oDt88dEOxl6r9w691lCtIdYb6VqIP4USHIZ6u+7cAM3FHgaR3CCh9M3XPUftuIxTEPZTSafim3xxpa1vxgPAGfIVIXX4YM= 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 1612413613151644.8533263611131; Wed, 3 Feb 2021 20:40:13 -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-546-vTBRSRraOtu4la1ekGU8qg-1; Wed, 03 Feb 2021 23:39:07 -0500 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 1128D1020C2D; Thu, 4 Feb 2021 04:39:02 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id E59CA71C8B; Thu, 4 Feb 2021 04:39:01 +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 AFFDC18089D4; Thu, 4 Feb 2021 04:39:01 +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 1144cg2n011349 for ; Wed, 3 Feb 2021 23:38:42 -0500 Received: by smtp.corp.redhat.com (Postfix) id 04571100AE4D; Thu, 4 Feb 2021 04:38:42 +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 C3201100763D for ; Thu, 4 Feb 2021 04:38:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1612413612; 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=aENN69D9dP4xIg1cIZvDRiQv6KjH2iRQkeVTHue/2AA=; b=VdrKn6jbEeqY43RLJGwwsfEL89bjgpVrpVJq6hpqLxu2Ujur3tU8ztwSnZxHYj2Be/aXW5 OdhrHQ+HduiY+prfJAizoSpDMU0NxYqaSL7YgGmyiJLhXJJougOo/4CrhgI2t8pSZHIfBS 5bUka+KlpbRv4JjdtOEiCGw8popy1AY= X-MC-Unique: vTBRSRraOtu4la1ekGU8qg-1 From: Laine Stump To: libvir-list@redhat.com Subject: [libvirt PATCH 11/15] security: replace VIR_FREE with g_free in all *Dispose() functions Date: Wed, 3 Feb 2021 23:38:30 -0500 Message-Id: <20210204043834.191994-12-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.79 on 10.5.11.16 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/security/security_manager.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/security/security_manager.c b/src/security/security_manage= r.c index be81ee5e44..67ede11981 100644 --- a/src/security/security_manager.c +++ b/src/security/security_manager.c @@ -55,7 +55,7 @@ void virSecurityManagerDispose(void *obj) =20 if (mgr->drv->close) mgr->drv->close(mgr); - VIR_FREE(mgr->privateData); + g_free(mgr->privateData); } =20 =20 --=20 2.29.2