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 6E5E9A0C43; Fri, 22 Oct 2021 23:33:12 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id EA6C74069D; Fri, 22 Oct 2021 23:33:11 +0200 (CEST) Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by mails.dpdk.org (Postfix) with ESMTP id 828BA40150 for ; Fri, 22 Oct 2021 23:33:10 +0200 (CEST) Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 35C1E5C0067; Fri, 22 Oct 2021 17:33:10 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Fri, 22 Oct 2021 17:33:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=fm2; bh= NiQ1iBUfNlfQc7ZFjZ/qAx8KNLveXEKN+GuIs0yIv1M=; b=sK+g3W0YJd/VLFwr CjQqReyYJPmj7jkztIBY4R9odK09INZ6eeKZF+V1pBVzzMPYXy+lMyYyTt1+a11z mUsw9FEio9e1qGcHzY/fhCfadBKSXbUAmvv6EzCBvf3NsZj/Ypz5Ky5f6sgAhGN/ OO/Z/WEFBkgg55fIl+/KPwRZ5HhPru3ktA+74dbyc0CKyhxsHYFxm8D0L3z6WTGy vqWbFupB7y//Pg171n5Yr9jEiW6dQzVFKc0vf7t0SsNQ9VwXDJ3RUQGMgcrbEDbF Wgs9jMx10Hp3IXuHishn/FnTq//50B9rD805qM4SS9jelr7YsR4UFGRPVfH4UaLD Gi7X7Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=NiQ1iBUfNlfQc7ZFjZ/qAx8KNLveXEKN+GuIs0yIv 1M=; b=ZXYEJhxXhBdsPqozO1uyNjRPXN0sCVKG7IXlAFTqhTALgBlLYYF1NZ9u0 LvrqgMJd+jMxwKjNTKPPqUUyTF7xjdqgrF8MgesrtjBTnBswLrA4krnL3OP9n/NN RpwEUT+2ot6LtxcwBzANlomXhVGC2vPfTigEMhxGsJNqi9hzX5rF2vgcYRLG24Zt iBQdPkdOniFJlTPkS06+h0eptD90YiQYtlVhv8BC4iVrV7HNyf61436f17zQmOIm 26KdImItS7NLaNrTa0qU8m5G1Q5nSM77eyNtwA6YTdOFCA8l2P73LoY1tJvN+N+K pw6Tbd3cVQBFNCTLRI7rTbLD3VDmw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrvddvkedgudehlecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefhvffufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhm rghsucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenuc ggtffrrghtthgvrhhnpedugefgvdefudfftdefgeelgffhueekgfffhfeujedtteeutdej ueeiiedvffegheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfh hrohhmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvght X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 22 Oct 2021 17:33:08 -0400 (EDT) From: Thomas Monjalon To: zhihongx.peng@intel.com Cc: Dmitry Kozlyuk , dev@dpdk.org, dev@dpdk.org, Olivier Matz Date: Fri, 22 Oct 2021 23:33:07 +0200 Message-ID: <1668684.xirU3e1Kdp@thomas> In-Reply-To: References: <20211013015223.1155876-2-zhihongx.peng@intel.com> <20211018172935.43cc2aaa@sovereign> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v5] lib/cmdline: release cl when cmdline exit 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" 20/10/2021 09:03, Olivier Matz: > On Mon, Oct 18, 2021 at 05:29:35PM +0300, Dmitry Kozlyuk wrote: > > 2021-10-18 21:58 (UTC+0800), zhihongx.peng@intel.com: > > > From: Zhihong Peng > > > > > > Malloc cl in the cmdline_stdin_new function, so release in the > > > cmdline_stdin_exit function is logical, so that cl will not be > > > released alone. > > > > > > Fixes: af75078fece3 ("first public release") > > > Cc: intel.com > > > > > > Signed-off-by: Zhihong Peng > > > > Reviewed-by: Dmitry Kozlyuk > > Acked-by: Olivier Matz Applied, thanks.