From nobody Sun Feb 8 20:58:01 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) client-ip=209.132.183.28; envelope-from=libvir-list-bounces@redhat.com; helo=mx1.redhat.com; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 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=1571227768; cv=none; d=zoho.com; s=zohoarc; b=fkcnQ8aM5URYc5AD7FEMs7Zzr2/o86Il7KVPTSA4VXEOhQ5dPPlBJbu0LTHYJhV7N3ya8wzJIFXPuMgaYI37hlADtINmpf04+1AQw2sarAPuYD8/OyatP5VAOB+pwMDfl7PHXkLhFTR48ju6O7T1y9DJ4mPkCozoWWWa2mX3fr0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1571227768; 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=9ocdhHZ2SBpPEcvj3ZXhAhIUziOnmEgbSKLctCFYygw=; b=oZgPhuG7i9+rBBWNNlbx85YyAXyVGGPfGPJGUiBHw5LxBBx0Tk0UCwBhtjxY2EpRqwn4MhhyyVmVzCXdG5foIgVH0qpWPLXkfLS+f/hFhPvOQymN3YrUtTWuaq9iGiz8VmUH9sZoivE+dR3mOHq464x4Lfq3YL9tpIkuKqwoJYU= ARC-Authentication-Results: i=1; mx.zoho.com; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1571227768279850.9670273692202; Wed, 16 Oct 2019 05:09:28 -0700 (PDT) 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 mx1.redhat.com (Postfix) with ESMTPS id 8E93230860BE; Wed, 16 Oct 2019 12:09:26 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 6925C19D70; Wed, 16 Oct 2019 12:09:26 +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 26D34180B536; Wed, 16 Oct 2019 12:09:26 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id x9GC9Gnp020916 for ; Wed, 16 Oct 2019 08:09:16 -0400 Received: by smtp.corp.redhat.com (Postfix) id D29B2601AC; Wed, 16 Oct 2019 12:09:16 +0000 (UTC) Received: from icr.brq.redhat.com (unknown [10.43.2.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id 59F6A60166 for ; Wed, 16 Oct 2019 12:09:16 +0000 (UTC) From: =?UTF-8?q?J=C3=A1n=20Tomko?= To: libvir-list@redhat.com Date: Wed, 16 Oct 2019 14:09:02 +0200 Message-Id: In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-loop: libvir-list@redhat.com Subject: [libvirt] [PATCH 1/9] util: delete VIR_AUTOFREE 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: , Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 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-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.44]); Wed, 16 Oct 2019 12:09:27 +0000 (UTC) Commit 1e2ae2e311c7453e7894e93688f8785736aa0618 deleted the last use of VIR_AUTOFREE but forgot to delete the macro definition. Signed-off-by: J=C3=A1n Tomko --- src/util/viralloc.h | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/src/util/viralloc.h b/src/util/viralloc.h index c503bbe19b..d7862d6127 100644 --- a/src/util/viralloc.h +++ b/src/util/viralloc.h @@ -488,17 +488,3 @@ void virDisposeString(char **strptr) */ #define VIR_DISPOSE(ptr) virDispose(1 ? (void *) &(ptr) : (ptr), 1, \ sizeof(*(ptr)), NULL) - - -/** - * VIR_AUTOFREE: - * @type: type of the variable to be freed automatically - * - * DEPRECATED: use g_autofree for new code. See HACKING - * for further guidance. - * - * Macro to automatically free the memory allocated to - * the variable declared with it by calling virFree - * when the variable goes out of scope. - */ -#define VIR_AUTOFREE(type) g_autofree type --=20 2.19.2 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list