From nobody Sun Feb 8 12:37:28 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 207.211.31.120 as permitted sender) client-ip=207.211.31.120; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-1.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 207.211.31.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=1578594861; cv=none; d=zohomail.com; s=zohoarc; b=YDOjiSxo1JCmVr264h7VFJkEtE/EL8KVSVyuz/3bHeuISBT1OoHuRUA6w86bStqTOQYPapP6cy3eXJmY6Od6JDpqzUsP/lRsNAAPCnxIb6qXmedg5QkXUVg7idtqYAvHz55cuFP5HXOwTF/B79uwfRs7Ys5ks4cje6XW7SAymHk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1578594861; 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=C0zQVMy7jOOVd2bV5DRrIaYqHOVndHEvlsuwyxR6b8g=; b=iuZ7v9ZVtQvmePNdMeGphaA/9U1AqyPme1Y3itO7up/jLDLMj416zmb3Rqd3CIrF/UepsdVHyjZ8re0l2iRXG5ZzQ1mJCHnYDVeprSUunb/Yb78pmKYrMmYuGe4Y3QBE7m41LcttEYmEKiUC5A0LN3aYFg2eJd5doJvJgPKP18o= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 207.211.31.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 [207.211.31.120]) by mx.zohomail.com with SMTPS id 1578594861251704.9234610414396; Thu, 9 Jan 2020 10:34:21 -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-379-gP_2vnk2MWaZYZ_enTF1CA-1; Thu, 09 Jan 2020 13:34:18 -0500 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id B808F1050943; Thu, 9 Jan 2020 18:34:08 +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 8B0321000337; Thu, 9 Jan 2020 18:34:08 +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 D84B9503CB; Thu, 9 Jan 2020 18:34:07 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 009IY6IL019824 for ; Thu, 9 Jan 2020 13:34:06 -0500 Received: by smtp.corp.redhat.com (Postfix) id E03422028DCB; Thu, 9 Jan 2020 18:34:05 +0000 (UTC) Received: from mimecast-mx02.redhat.com (mimecast06.extmail.prod.ext.rdu2.redhat.com [10.11.55.22]) by smtp.corp.redhat.com (Postfix) with ESMTPS id D8ED42026D67 for ; Thu, 9 Jan 2020 18:34:03 +0000 (UTC) Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [207.211.31.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 EEB6F185A79C for ; Thu, 9 Jan 2020 18:34:02 +0000 (UTC) Received: from mail-qk1-f193.google.com (mail-qk1-f193.google.com [209.85.222.193]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-71-0Wjb7PP-O9e8aioML0E91w-1; Thu, 09 Jan 2020 13:34:00 -0500 Received: by mail-qk1-f193.google.com with SMTP id j9so6974466qkk.1 for ; Thu, 09 Jan 2020 10:34:00 -0800 (PST) Received: from rekt.ibmuc.com ([2804:431:c7c7:541e:7a5e:37ad:989b:4530]) by smtp.gmail.com with ESMTPSA id g52sm3902267qta.58.2020.01.09.10.33.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Jan 2020 10:33:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1578594860; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc: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=C0zQVMy7jOOVd2bV5DRrIaYqHOVndHEvlsuwyxR6b8g=; b=H9S6FQEySkQaJaPfAlCY3dfVWrEIkhotDybyp5pC+0KonaoLUbBD8jH5JdegYmNLJ9SuQM QNddFyK51Lox6DalmdZ9jW7Pg7RwprPCeaH3R/xYW1j30gF3B5nMA6hdgatu6q6Kocx1KI CCVTXhzt1z+JDtVZvAR09zZghvLF760= 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=J8O18wy7hKlyjvjP1gwA7d3EBS9wAS6Nj6BRSRNHg7U=; b=GstMRFC7EyEVty5V85UevlxaOmkxmoXV2Jvp0pJY2GtWUpCfZA3nQkWzT3PYEYCvZd Qjf0ZMJkYcYUxgWCwzKtN0xkX5I0I+03KXMledhliLB4DfpW5F34YmJQgveTw5m5xpd9 hdVDHorlF2n3gOJgWhA/awNfDo7x/vF0eQXkEm77HTR83vQSAtB4gjc72hXTJTnsDydb aFFQIuOKd73uAlHKvkq9SJ/c83T/LiyJGYFPMVzUeFhMIjJUGPkoseIZnyNilKpYBXCr bAYEZkfz0a9+DVlo6wyDJWVf03KIFVlZiGdXrWgIRdTFeJT5vOl9TXwGArLHZzO2a/1Q c8sw== X-Gm-Message-State: APjAAAVRfxh85DCFmfCGIMnWrClPpAwzMD638nqUcAL2/svcBp+gMlfV ZSGKOXLpvn5cRdNV4DNzyGWHSAr6 X-Google-Smtp-Source: APXvYqyXtLcjJDdC4w/q5eerf4Meo430RhYuN9kBqQPIsVLPEIFjWj5eeJ60JjfzvMDOUA6Ci4ytDQ== X-Received: by 2002:a37:7b43:: with SMTP id w64mr10782875qkc.203.1578594839777; Thu, 09 Jan 2020 10:33:59 -0800 (PST) From: Daniel Henrique Barboza To: libvir-list@redhat.com Date: Thu, 9 Jan 2020 15:33:43 -0300 Message-Id: <20200109183348.1362138-4-danielhb413@gmail.com> In-Reply-To: <20200109183348.1362138-1-danielhb413@gmail.com> References: <20200109183348.1362138-1-danielhb413@gmail.com> MIME-Version: 1.0 X-MC-Unique: 0Wjb7PP-O9e8aioML0E91w-1 X-MC-Unique: gP_2vnk2MWaZYZ_enTF1CA-1 X-Scanned-By: MIMEDefang 2.78 on 10.11.54.4 X-MIME-Autoconverted: from quoted-printable to 8bit by lists01.pubmisc.prod.ext.phx2.redhat.com id 009IY6IL019824 X-loop: libvir-list@redhat.com Cc: Daniel Henrique Barboza Subject: [libvirt] [PATCH v1 3/8] qemu_domain.c: remove redundant virObjectUnref() 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.22 X-Mimecast-Spam-Score: 0 Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) Content-Type: text/plain; charset="utf-8" The 'caps' variable in qemuDomainObjPrivateXMLParseAutomaticPlacement() is set to auto clean via g_autoptr(), but a 'virObjectUnref(caps)' is being executed in the 'cleanup' label. Signed-off-by: Daniel Henrique Barboza --- src/qemu/qemu_domain.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/qemu/qemu_domain.c b/src/qemu/qemu_domain.c index 24e84a5966..999e0db49e 100644 --- a/src/qemu/qemu_domain.c +++ b/src/qemu/qemu_domain.c @@ -3106,7 +3106,6 @@ qemuDomainObjPrivateXMLParseAutomaticPlacement(xmlXPa= thContextPtr ctxt, ret =3D 0; =20 cleanup: - virObjectUnref(caps); VIR_FREE(nodeset); VIR_FREE(cpuset); =20 --=20 2.24.1 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list