From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 1B090A0C4E; Sat, 23 Oct 2021 14:41:12 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8D5CC4069D; Sat, 23 Oct 2021 14:41:11 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by mails.dpdk.org (Postfix) with ESMTP id 3C35040041 for ; Sat, 23 Oct 2021 14:41:10 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1634992869; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=EYyEzhKyOy49HMZtb1Zf1UhTQegnurhp9qHh0j2LJKo=; b=IvIuC6C7t5ZDi0ib2lRlFV+ftVK1spKaNfldMU/LOInJ8M8NswMY/ZdAQTLkUY7vhDgTtu Ft965FkGwq1mIwkDV5PsG9GsIzm0Wpq28YzAgxjDZcCDjkOolefVXGMIpWoKwczSnAiOnR CBiYho9tHvjNWPAz4SCa/aMRiY3H0OM= Received: from mail-lf1-f70.google.com (mail-lf1-f70.google.com [209.85.167.70]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-553-jAG6VLF6MZSEgrzSsMu9VQ-1; Sat, 23 Oct 2021 08:41:08 -0400 X-MC-Unique: jAG6VLF6MZSEgrzSsMu9VQ-1 Received: by mail-lf1-f70.google.com with SMTP id b20-20020a056512305400b003ff9275966bso1244454lfb.13 for ; Sat, 23 Oct 2021 05:41:08 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=EYyEzhKyOy49HMZtb1Zf1UhTQegnurhp9qHh0j2LJKo=; b=1VO/4HyCks8thqVVuDrMMn6+psDFw6IkP2fceofjpomPhI3irBw/J9EcHhq0X/uHUv nlMvk8ZhZdQ547CMveUPcY1hJHRBrK+bUOKKpgQKQ5z+oATWMe1pEBLtrZN4obu/LHP3 nyeTIVcqZRB6P4r9/jIytNswL/LFFJs4DCOTEbjljv6c45rzpKHRyxbdABjd3W3VlbkS LQD2D89bewCKDU7ydLIHYHPJEeI+vcVZs0ZSjoLIp4CfbGmbwIv1DGDtxHgjBBLEyzoE XhRRtOwRRV9IzUCr0obgp74dYjNcrSIibDpcGAnQgdMUJhCDqHQtCw0HBXUF+xnb6dMS 3yww== X-Gm-Message-State: AOAM530WaKnQYIgnwq4ZGF4ZniIKrJ7cBHnuLhzwD4k0eaWcv1BZmHX7 +iD/ozQqn6eLUA/Rraqo/Ss3YJFqK/tJpaXiIh768lb18LMnJs/HLMt927XlMzRnji22TPeBZ+T kiJuvgt4qcv50mJyRNPQ= X-Received: by 2002:a05:6512:a8e:: with SMTP id m14mr5589595lfu.575.1634992866854; Sat, 23 Oct 2021 05:41:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyfMJaOToxZKVNTCaAnsjwbQR7KX7XwfTgRzIsITjEJ+t6m8TIEkp11AcNVrKQYRHlkvgyBHnz8jKuNsof6vwY= X-Received: by 2002:a05:6512:a8e:: with SMTP id m14mr5589579lfu.575.1634992866646; Sat, 23 Oct 2021 05:41:06 -0700 (PDT) MIME-Version: 1.0 References: <20211023121755.169290-1-xuemingl@nvidia.com> In-Reply-To: <20211023121755.169290-1-xuemingl@nvidia.com> From: David Marchand Date: Sat, 23 Oct 2021 14:40:55 +0200 Message-ID: To: Xueming Li Cc: dev , Gaetan Rivet Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dmarchan@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH v1] test: fix devargs test case memory leak X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Sat, Oct 23, 2021 at 2:18 PM Xueming Li wrote: > > In layer argument test function, kvargs are parsed and checked without > free. This patch calls rte_kvargs_free() function to avoid memory leak. > Coverity issue: 373631 > Fixes: a4975cd20dca ("test: add devargs test cases") > > Signed-off-by: Xueming Li Reviewed-by: David Marchand -- David Marchand