From nobody Sun Feb 8 15:29:29 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 205.139.110.120 as permitted sender) client-ip=205.139.110.120; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-1.mimecast.com; Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of redhat.com designates 205.139.110.120 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=fail(p=none dis=none) header.from=gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1595020961; cv=none; d=zohomail.com; s=zohoarc; b=lOL1HvvE/iSkheVwp7RsJYuG93VvGg/OVPzfU1E0pOyAqkmUcG6TuFzmZR6BrLjNdlvxX4Fdgmawr/98M37fMCOMVNE8LQ7j9/6o6Avogtdp9AyBXyk7xTaQ56zWcx7h/RtId1Gdr9YEFoDumJ1t7SWHhSR3jNjIy1v+vuX0ftg= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1595020961; h=Content-Type:Content-Transfer-Encoding:Cc: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=A31E5Ild34HjWiWzdEqG40yqqDNRICYoYI9NoI48Pk8=; b=QJbOq1oFBGRtZm+O+kBFbs2xiBrFfLQQmkvh+nPSbh195iS4QkVlsgZdYeAsp+YWJs0Xc3BavmLR8AH6boCHT/YAHyfbDPkioyhLwqvc2IZ53tX65Os+KTgiTjlx0yR4pniCFx/xu+F4wjt5g777V7Ggsv6+kHg4e3DlpvTdErA= ARC-Authentication-Results: i=1; mx.zohomail.com; spf=pass (zohomail.com: domain of redhat.com designates 205.139.110.120 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [205.139.110.120]) by mx.zohomail.com with SMTPS id 1595020961386593.2830344046109; Fri, 17 Jul 2020 14:22:41 -0700 (PDT) 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-402-nMUUZylEOLa-HcPU2b_sHA-1; Fri, 17 Jul 2020 17:22:37 -0400 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 3D2D51800D42; Fri, 17 Jul 2020 21:22:32 +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 DEAC819C58; Fri, 17 Jul 2020 21:22:31 +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 543649624C; Fri, 17 Jul 2020 21:22:30 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 06HLGDh6019531 for ; Fri, 17 Jul 2020 17:16:13 -0400 Received: by smtp.corp.redhat.com (Postfix) id 5BAE01140FE; Fri, 17 Jul 2020 21:16:13 +0000 (UTC) Received: from mimecast-mx02.redhat.com (mimecast04.extmail.prod.ext.rdu2.redhat.com [10.11.55.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 572741140FA for ; Fri, 17 Jul 2020 21:16:10 +0000 (UTC) Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [205.139.110.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 170A51012443 for ; Fri, 17 Jul 2020 21:16:10 +0000 (UTC) Received: from mail-qk1-f177.google.com (mail-qk1-f177.google.com [209.85.222.177]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-508-by6V51wgOMCatD6iRYAyTg-1; Fri, 17 Jul 2020 17:16:07 -0400 Received: by mail-qk1-f177.google.com with SMTP id k18so10074053qke.4 for ; Fri, 17 Jul 2020 14:16:07 -0700 (PDT) Received: from rekt.ibmuc.com ([2804:431:c7c6:9447:1f8b:580e:61d9:b1a4]) by smtp.gmail.com with ESMTPSA id x19sm11847162qtc.36.2020.07.17.14.16.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Jul 2020 14:16:06 -0700 (PDT) X-MC-Unique: nMUUZylEOLa-HcPU2b_sHA-1 X-MC-Unique: by6V51wgOMCatD6iRYAyTg-1 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=A31E5Ild34HjWiWzdEqG40yqqDNRICYoYI9NoI48Pk8=; b=iJ9qqF5dSncHUvxyl+SZi/IHtJGOcG/oZ1kSse8Jra1MlsjnPv0OD8c5Q/sdHDKBwX ss13zNlF0/ylgXL8XNe1zEdvh5MyliPZe4jVGT3wJuFTbA4SDszyq/xiMkNPoydkUw7w f/2YrL9rMLsE5nB8XOKds3HNhRwo8B3063dvvYgeM9Tw2ee9H+/Mh1RyMQWDYvX7e/cP Wap/ZwwfP6WrFWTeu1spmRV3YC65BWqXP4x3vj28czYqFGGF+gDJAWrrxG3PdiY4b8bW r573wke2ervqCsYGUWNb8i+7w0UQUeIwUs/DyPgZI7adtKi78SA7i/XajZblq1MDjMB0 dYIQ== X-Gm-Message-State: AOAM5319gbIdGrZtIdY/WTmtDRii80FyXFAmj4yX15fiGmbvyuv2cmgC aNf7+EK5bK4frdq8eNMpg+Y6R38CHkA= X-Google-Smtp-Source: ABdhPJzYlxUfd3EHbO/0JHcbJCvWZlEZpDGVhJExtC/e15/QwUkti9cv5A7RPVwFcHx4F1jg/d0abw== X-Received: by 2002:a05:620a:2007:: with SMTP id c7mr10781129qka.208.1595020566646; Fri, 17 Jul 2020 14:16:06 -0700 (PDT) From: Daniel Henrique Barboza To: libvir-list@redhat.com Subject: [PATCH 1/5] qemu_process.h: register AUTOPTR_CLEANUP_FUNC for qemuProcessQMPPtr Date: Fri, 17 Jul 2020 18:15:52 -0300 Message-Id: <20200717211556.1024748-2-danielhb413@gmail.com> In-Reply-To: <20200717211556.1024748-1-danielhb413@gmail.com> References: <20200717211556.1024748-1-danielhb413@gmail.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.11.54.5 X-loop: libvir-list@redhat.com Cc: Daniel Henrique Barboza 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.23 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Next patches will use g_autoptr() in qemuProcessQMPPtr pointers for some cleanups in QMP code. Signed-off-by: Daniel Henrique Barboza --- src/qemu/qemu_process.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/qemu/qemu_process.h b/src/qemu/qemu_process.h index 15e67b9762..125508f9fe 100644 --- a/src/qemu/qemu_process.h +++ b/src/qemu/qemu_process.h @@ -234,5 +234,6 @@ qemuProcessQMPPtr qemuProcessQMPNew(const char *binary, bool forceTCG); =20 void qemuProcessQMPFree(qemuProcessQMPPtr proc); +G_DEFINE_AUTOPTR_CLEANUP_FUNC(qemuProcessQMP, qemuProcessQMPFree); =20 int qemuProcessQMPStart(qemuProcessQMPPtr proc); --=20 2.26.2