From nobody Sat Feb 7 08:55:15 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=1612413615; cv=none; d=zohomail.com; s=zohoarc; b=cUzjeoRvZ/LAG38grVppTyl0uWCRrAaQE9+02xUaR5K8lUdcNWrvKATZjG1EXfKPlgolx2iVtNJJW86gAJW114Ouuws9UwkxJMn+7CSbgjvpOFssFPVQGnRskT2esswv7NitTfPW7L62PRNY4WpVcea5/4SD2L+0kYXZIfuD1Q8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1612413615; 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=u4rNun12lOewpUzq7G6JD+gCQClNFsEjbQjypHYhimA=; b=DMqrOCBsZjd9XcY7E+4vpg1sp8vREKiWO27SeAZFNXFhCZ/VzizExzVyGUTPGmoIZzboc235TIYcNs1GXmfAbZejcOSDH1Y1Vb/Mqy7SA81ZdlYm4woqCct654Jr90gkUUJwPhAti5IzS/ltmBMaFeD5MPbGWAkmIcrz8FBeY1I= 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 1612413615963375.7635109739539; Wed, 3 Feb 2021 20:40:15 -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-530-DhUIYINlP9aDs-YlXzjzQQ-1; Wed, 03 Feb 2021 23:39:04 -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 83C041800D41; Thu, 4 Feb 2021 04:38:59 +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 32E525FC3A; Thu, 4 Feb 2021 04:38:59 +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 F3F7858078; Thu, 4 Feb 2021 04:38:58 +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 1144cfeu011337 for ; Wed, 3 Feb 2021 23:38:41 -0500 Received: by smtp.corp.redhat.com (Postfix) id 48A50100763D; Thu, 4 Feb 2021 04:38:41 +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 13A4B101E581 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=1612413614; 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=u4rNun12lOewpUzq7G6JD+gCQClNFsEjbQjypHYhimA=; b=Qy2pZPVklSZjJzEfSfOmmuPcqFSza4BU1ZvFCUOz9RXSvvcAyxYDrygDoDI4640AXUY2ZU bJOGZyIiE+yzCIurRrmkJ0/GfGz3BNWRkx1DUoQIJzQVw3CjEq4Mo9Nt6O34V4xQtpqfv7 QFtvyl5Tux6SZhB/LQrlIOvbDzie9RM= X-MC-Unique: DhUIYINlP9aDs-YlXzjzQQ-1 From: Laine Stump To: libvir-list@redhat.com Subject: [libvirt PATCH 09/15] logging: replace VIR_FREE with g_free in all *Dispose() functions Date: Wed, 3 Feb 2021 23:38:28 -0500 Message-Id: <20210204043834.191994-10-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/logging/log_handler.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/logging/log_handler.c b/src/logging/log_handler.c index 45a4763525..a77c1e0250 100644 --- a/src/logging/log_handler.c +++ b/src/logging/log_handler.c @@ -352,7 +352,7 @@ virLogHandlerDispose(void *obj) handler->inhibitor(false, handler->opaque); virLogHandlerLogFileFree(handler->files[i]); } - VIR_FREE(handler->files); + g_free(handler->files); } =20 =20 --=20 2.29.2