From nobody Mon May 13 06:42:20 2024 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=1694589696; cv=none; d=zohomail.com; s=zohoarc; b=iPIOmnHXgKxYP7SJ8TF3/iKo+VLqIbLzx43ELCtPsDeA9AOKCjdwxQ18NKeshakOWoCTXcCyKVkkz84xfu+vikITWLHLCyU7WkXOBId9IprdloSg6Jnx0JZOLdfS34vNa5cB9jMGrfPWBGGttRvtbQFVM/dGA2tKK+sF2cKgrFE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1694589696; h=Content-Type:Content-Transfer-Encoding:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=fFrME8yXqxSo7n1UPt4FsxqqPIEf11SwU/ILfYt9GSo=; b=dw7H0EViiOfxgwQ90RpuOdHEXwy87BXeO7cdS3JS4wbywFvWS+n/h0O0DcMFljUG2HZ5d30oXIsefYOk4MtAkFc7/LoDrlgW+GE7HYgZY3d0CC3NcxGLf4w1kV5Q88sB8UV5ZnKZgYSNyub4XDRFMAVV+Hlo+xTqeVUGDi9/lFo= 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 1694589696039496.36365211724217; Wed, 13 Sep 2023 00:21:36 -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-441-l4vb4X1FNYefCse_xDwIqw-1; Wed, 13 Sep 2023 03:21:31 -0400 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.rdu2.redhat.com [10.11.54.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 80370101FAB6; Wed, 13 Sep 2023 07:21:29 +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 0614740C2009; Wed, 13 Sep 2023 07:21:29 +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 C873F19465B1; Wed, 13 Sep 2023 07:21:28 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 3844F194658D for ; Wed, 13 Sep 2023 07:21:27 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 17C38200CD5A; Wed, 13 Sep 2023 07:21:27 +0000 (UTC) Received: from speedmetal.lan (unknown [10.45.242.12]) by smtp.corp.redhat.com (Postfix) with ESMTP id 958B62156721 for ; Wed, 13 Sep 2023 07:21:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1694589694; 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:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=fFrME8yXqxSo7n1UPt4FsxqqPIEf11SwU/ILfYt9GSo=; b=cL8A/jBMI0mN4slPOhNd7VGz7MvcuT7olrb+FbuIYIdNHQwrgDvUMdHhtxQ7Sw/z6E0oaF IMod6qTo1jGIZxfyQvjIrBCKHkcHNMlgmoDpYDxZSVZQM+d5ao/RYg6ws8CKhv6cvG1Vjm /dpqGRD++nPaXqBwOhu+E2BOy6JV5Z8= X-MC-Unique: l4vb4X1FNYefCse_xDwIqw-1 X-Original-To: libvir-list@listman.corp.redhat.com From: Peter Krempa To: libvir-list@redhat.com Subject: [PATCH (pushed)] virStorageSourceClear: Clear 'vdpadev' field Date: Wed, 13 Sep 2023 09:21:24 +0200 Message-ID: <85205784e6296c74b42bf20d343c8f7d229f3632.1694589664.git.pkrempa@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.6 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.1 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: 1694589697303100001 Content-Type: text/plain; charset="utf-8" Release memory for the recently added field. Fixes: 1df106cc20a4cc6417cfbaf01860f465ec3dd915 Signed-off-by: Peter Krempa --- src/conf/storage_source_conf.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/conf/storage_source_conf.c b/src/conf/storage_source_conf.c index f57cb3241d..f7f62c3966 100644 --- a/src/conf/storage_source_conf.c +++ b/src/conf/storage_source_conf.c @@ -1143,6 +1143,7 @@ virStorageSourceClear(virStorageSource *def) VIR_FREE(def->path); VIR_FREE(def->fdgroup); VIR_FREE(def->volume); + VIR_FREE(def->vdpadev); VIR_FREE(def->snapshot); VIR_FREE(def->configFile); VIR_FREE(def->query); --=20 2.41.0