From nobody Mon Feb 9 04:15:24 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) client-ip=170.10.129.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 170.10.129.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=1663577733; cv=none; d=zohomail.com; s=zohoarc; b=dgeTvpUzI71chbWUE9uheqRQMxn6bqCejY+ARWCZbkKnCysVUoomwPM0hboW8mOEWggKZPRe/J/DaoxHecRkEvBKkyYZkSapUEOs6gQpGJ/Uy3+YJX3NCyL6uMS3NnKvyT5dXJN3B4glPDy5rNLOp3ehp8Geg4ll7ktKvbr5WdY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1663577733; 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=4uh+i+/vIyZMJcgBuR8GikhEO4s3mDO+nHQvILK1CDI=; b=Vn/FgxThx267yWcLP0R5Vv22pAZ38N8iECA/nvwSpGk/HRai6jx0ZyCNboommNHllwDqfvQWJLycg6SdbxjbVDCWJC1aUB5uG7o1SI4Yie5mxh6DWLAZflRY7GNyIm75EwoWea6iVci/bRGcLLWANO2JpNKomlJXOfdo16fvCDw= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mx.zohomail.com with SMTPS id 1663577733231479.93177966095016; Mon, 19 Sep 2022 01:55:33 -0700 (PDT) Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-169-6ARpl-PaOdSF4YQyA_4-4w-1; Mon, 19 Sep 2022 04:55:28 -0400 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id D026985A5A6; Mon, 19 Sep 2022 08:55:25 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (unknown [10.30.29.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id BC7D717583; Mon, 19 Sep 2022 08:55:25 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (localhost [IPv6:::1]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id A9E0119465A8; Mon, 19 Sep 2022 08:55:25 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.rdu2.redhat.com [10.11.54.2]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id A2E101946A40 for ; Mon, 19 Sep 2022 08:55:24 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 914DB40C6EC2; Mon, 19 Sep 2022 08:55:24 +0000 (UTC) Received: from speedmetal.lan (unknown [10.40.208.30]) by smtp.corp.redhat.com (Postfix) with ESMTP id 0AA8A40C6EC3 for ; Mon, 19 Sep 2022 08:55:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1663577732; 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=4uh+i+/vIyZMJcgBuR8GikhEO4s3mDO+nHQvILK1CDI=; b=PRtK0Zizpe4EH5crHAovVMhJJw9V2OPy30+K+QYlx+7d/O/o7YrNWfV38wMw2UMYyXP0PL 2bs6tlf1EJ+nBAjS1k9R4LZXtoh6c8+sGUCmNb/6qn5ADHMUkBO15UNyVAn6UQda6eHOpT z3uHCuUY+BfDLS274bE7R9tMlwAB9Fk= X-MC-Unique: 6ARpl-PaOdSF4YQyA_4-4w-1 X-Original-To: libvir-list@listman.corp.redhat.com From: Peter Krempa To: libvir-list@redhat.com Subject: [PATCH 01/37] conf: domain: Register automatic pointer freeing for virDomainActualNetDef Date: Mon, 19 Sep 2022 10:54:46 +0200 Message-Id: <3ec4256dda8543f9f57d097c1e3c2906af4589a0.1663577577.git.pkrempa@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.2 X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libvir-list-bounces@redhat.com Sender: "libvir-list" X-Scanned-By: MIMEDefang 3.1 on 10.11.54.5 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1663577735113100001 Content-Type: text/plain; charset="utf-8" Signed-off-by: Peter Krempa Reviewed-by: J=C3=A1n Tomko --- src/conf/domain_conf.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/conf/domain_conf.h b/src/conf/domain_conf.h index 42fa2a4400..3d13c7a3de 100644 --- a/src/conf/domain_conf.h +++ b/src/conf/domain_conf.h @@ -3416,6 +3416,7 @@ bool virDomainControllerIsPSeriesPHB(const virDomainC= ontrollerDef *cont); virDomainFSDef *virDomainFSDefNew(virDomainXMLOption *xmlopt); void virDomainFSDefFree(virDomainFSDef *def); void virDomainActualNetDefFree(virDomainActualNetDef *def); +G_DEFINE_AUTOPTR_CLEANUP_FUNC(virDomainActualNetDef, virDomainActualNetDef= Free); virDomainIOMMUDef *virDomainIOMMUDefNew(void); void virDomainIOMMUDefFree(virDomainIOMMUDef *iommu); G_DEFINE_AUTOPTR_CLEANUP_FUNC(virDomainIOMMUDef, virDomainIOMMUDefFree); --=20 2.37.1