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 9B2A0A0C45; Mon, 25 Oct 2021 09:42:28 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 31D0C40E32; Mon, 25 Oct 2021 09:42:28 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mails.dpdk.org (Postfix) with ESMTP id 71F8F4003E for ; Mon, 25 Oct 2021 09:42:26 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1635147744; 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=yiTFRCCuVfmzkBbhZsRmmNiz3hQSOHYvY/zFjVHghLQ=; b=RNgBjYOMvrQGBjWvqs/48Rx0fMoeoqKf2+b2Z/z0di8eVAAljx/6iLVl8Sqz2nKmRdPyUY OjcgMOwZoBkGfV+MhERPdLyUyUBnicz4uuWst/b8VmOOf47BUW+iXsU3Q+1DqNRIzlXMAF 1Vvuwg/lFHB8uconHoYiYFvsDKTEPks= Received: from mail-lj1-f197.google.com (mail-lj1-f197.google.com [209.85.208.197]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-166-R2Okia5BOQyHgSmWO76miw-1; Mon, 25 Oct 2021 03:42:23 -0400 X-MC-Unique: R2Okia5BOQyHgSmWO76miw-1 Received: by mail-lj1-f197.google.com with SMTP id j12-20020a2e800c000000b00210c475e1aaso2357534ljg.15 for ; Mon, 25 Oct 2021 00:42:23 -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=yiTFRCCuVfmzkBbhZsRmmNiz3hQSOHYvY/zFjVHghLQ=; b=pdPwKhlwc7LDNEW3erQvZ2NrcvNQKgrsFwZqjUqYU+hxnTUMLB6nNReGcCNoZwYiys 1Z1524BZsmVX/4rXCmi8BFgksPOBECLX4evOq68/ABGjQoAqYG9STNWdB2F50t7saon0 DS6MHbondVXcGgs0M2d7qS7vKozW0Cl/NFsFqn8yd2rbvbKJk3qK58oI35AdikUmdCYk sAmxYSCRFETd+Z5a4BuW8gJYwJnIAbi+W3i0LLAfs7oRa+1gUo/kYntbMUmMVpTXmnSS 9PNdq1dFVTAkHhH9Hr4136hGQclOJHG3cZJK78eSQJrby6Iyhy7bAghu1nvBgIXtudAQ jhjg== X-Gm-Message-State: AOAM530MJCitGz00myqU0JwPwXI7ZpSYrSPgbIHnigOZpVJtTVlJV6UQ wC+kjxaCDbVnCWTA94gc0FG4d6lmInnL2CtTWaO9oHrHYdPIfPAWo50F1gMItKaccIu7iUVNZbr C/W7RiDiTWyq4VMDfuKA= X-Received: by 2002:ac2:4d56:: with SMTP id 22mr2337325lfp.265.1635147742189; Mon, 25 Oct 2021 00:42:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyDwFaktQQiROD5fkJF3iMkmJ9qFobM5Yc7GhLROi2khzXbgKakJ5UroYtihL8+65TTGXlC3VDHz+cJr9B21ik= X-Received: by 2002:ac2:4d56:: with SMTP id 22mr2337311lfp.265.1635147742028; Mon, 25 Oct 2021 00:42:22 -0700 (PDT) MIME-Version: 1.0 References: <20211023121755.169290-1-xuemingl@nvidia.com> In-Reply-To: From: David Marchand Date: Mon, 25 Oct 2021 09:42:11 +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:40 PM David Marchand wrote: > 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 Applied, thanks. -- David Marchand