From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by dpdk.org (Postfix) with ESMTP id 79DA51B3F4; Tue, 6 Feb 2018 01:36:24 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 0E55320F6F; Mon, 5 Feb 2018 19:36:24 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute1.internal (MEProxy); Mon, 05 Feb 2018 19:36:24 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=mesmtp; bh=8P+EEYRZC/FUhb4EBYejCa6HyO reAaPmV3W5EzBzOxw=; b=mQ3YYc1K5RtDcSGuHKTXpqDAH94Cxs1hEjFJ7KWMf/ kIn2A7X062Pcj7OqCZAXxnN2XLNZg7qRUrYwl66HeHEt+14cBFUtINjLiHyiDlXR zOvKFJMHFYRytsqns0Z91V3b7mISqk4qaXYvmgoaSR5U1UPV5UWiMsN7E62upp9p 0= 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-sender:x-me-sender:x-sasl-enc; s=fm1; bh=8P+EEY RZC/FUhb4EBYejCa6HyOreAaPmV3W5EzBzOxw=; b=HmFJ3KxyKTZ8OI721/gh4U mQld5qrrnjRnvQl8UwvM9rPic5vP/ORZLzPRrrlk/Xc8Q0Ww+crBEiz7ZKj3IHgw Ac//KD/N60LcZvxKBI1EqDsp9B6i1Ssx9WcPvwDZxpq2mXRzkgnnSk7Eq7UWFnTR f0VVlOKy2gkg14fV/YdlpO57BZWuBVq5oPrjm9PTFLmZXL7VZLVdwBn2E2aZJsv8 RMSS+/gNcJ4BhrpZDZoWmhmGrGhyu290MtXHsXIDauU8oRJe4FLIoG7wxhYP7Fny 0lBVRtRmwteKTBfn9QhgGIb1/9JQ4HhEYwU65x+gOqmtmu7n6EzgEfE6m/ZUyC6Q == X-ME-Sender: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id B5FE824235; Mon, 5 Feb 2018 19:36:23 -0500 (EST) From: Thomas Monjalon To: Anatoly Burakov Cc: dev@dpdk.org, Olivier Matz , pablo.de.lara.guarch@intel.com, stable@dpdk.org Date: Tue, 06 Feb 2018 01:36:20 +0100 Message-ID: <5821346.polxSJYkpG@xps> In-Reply-To: References: <409be7970a029d2d2cfffeafee43ea2645244eb2.1517834482.git.anatoly.burakov@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v4 3/6] test: fix memory leak in ring autotest X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Feb 2018 00:36:24 -0000 05/02/2018 14:03, Anatoly Burakov: > Get rid of global static ring variable and don't reuse rings > between test runs. > > Fixes: 4e32101f9b01 ("ring: support freeing") > Cc: pablo.de.lara.guarch@intel.com > Cc: stable@dpdk.org > > Signed-off-by: Anatoly Burakov > Acked-by: Olivier Matz There is an error caught by clang: test/test/test_ring.c:676:6: fatal error: variable 'rp' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized]