From nobody Mon Feb 9 03:48:25 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=1670603370; cv=none; d=zohomail.com; s=zohoarc; b=A+XHrR4Awt+OJcCdjBMkrq58eb54yW71FL+PkohANi/wY9WcdfGwrCdEYDLx27rYsNa1z8g4blQBWY3vOPfFqVtK+CrLwMr49P32FC89B4pQZm9lelqAmKVNXtc4v8sUkIVmkdKg4lz4JEvNBcxuUa/LTUDg+S106NV1NS+pbhg= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1670603370; 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=fPBOF1PKbZ44F86JkkPNbrtvtazQAjAthgHwZFlnChE=; b=UKADhG77/vTyP/lC9wTYqvyBQ/rkIp72gYTUmd8GAp7OqnYOlcMBVSc4SjhpbCnw8ET0VzREsnvEil144AVb+nDhCyL6oRTg7if7c18MNxSgP8VlVcQU93IAz32eNfWVz+SaAczODTFzSf3vhsv0QA5mIs3x4bOgYKcmOXT8o+8= 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 1670603369997228.05022236702996; Fri, 9 Dec 2022 08:29:29 -0800 (PST) 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-77-KlkfJxyBN9myws1WMlRr7w-1; Fri, 09 Dec 2022 11:29:23 -0500 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 8EE7A805AC5; Fri, 9 Dec 2022 16:29:18 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com [10.30.29.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id 7C5B742222; Fri, 9 Dec 2022 16:29:18 +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 44EAD1947053; Fri, 9 Dec 2022 16:29:18 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 7CB821947051 for ; Fri, 9 Dec 2022 16:29:16 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 6C6BF1759E; Fri, 9 Dec 2022 16:29:16 +0000 (UTC) Received: from speedmetal.redhat.com (ovpn-208-20.brq.redhat.com [10.40.208.20]) by smtp.corp.redhat.com (Postfix) with ESMTP id 8CF6342222 for ; Fri, 9 Dec 2022 16:29:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1670603368; 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=fPBOF1PKbZ44F86JkkPNbrtvtazQAjAthgHwZFlnChE=; b=QTH9g+hv+rAbkXdRb9F9rEolun+4WnIx1F3Uz1ydBlGlqUYyCQ20GxvVUtCEhqX+xwO1Bk cIkCOfKEoFFIgMhyerKF6m1zeJLq+ZKFZSsQ5E7ZKJlozdxaHzOBVJfHia0MMH4wTgzVBd rIN/i69jlh4djXVdIUOOtsEvxrAGhSE= X-MC-Unique: KlkfJxyBN9myws1WMlRr7w-1 X-Original-To: libvir-list@listman.corp.redhat.com From: Peter Krempa To: libvir-list@redhat.com Subject: [PATCH 10/11] datatypes: Register autoptr cleanup for virSecret Date: Fri, 9 Dec 2022 17:29:02 +0100 Message-Id: <160a3fd64e171db0bac353e9d746d611240b11cf.1670603205.git.pkrempa@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.5 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: 1670603370811100003 Content-Type: text/plain; charset="utf-8" Signed-off-by: Peter Krempa Reviewed-by: J=C3=A1n Tomko --- src/datatypes.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/datatypes.h b/src/datatypes.h index 49cd9cd42c..0f9730d9e8 100644 --- a/src/datatypes.h +++ b/src/datatypes.h @@ -720,6 +720,7 @@ struct _virSecret { char *usageID; /* the usage's unique identifier = */ }; +G_DEFINE_AUTOPTR_CLEANUP_FUNC(virSecret, virObjectUnref); typedef int (*virStreamAbortFunc)(virStreamPtr, void *opaque); typedef int (*virStreamFinishFunc)(virStreamPtr, void *opaque); --=20 2.38.1