From mboxrd@z Thu Jan 1 00:00:00 1970 From: Olivier MATZ Subject: Re: [PATCH 4/6] test: fix memory leak in ring perf autotest Date: Fri, 22 Dec 2017 17:28:08 +0100 Message-ID: <20171222162807.iydbsyaglexfcs5t@platinum> References: <9d5a3bc7a779b2dddab4256aa3e0631737861f98.1513867589.git.anatoly.burakov@intel.com> <727c5c165ffa76fd951dd47691411a3023654a48.1513867589.git.anatoly.burakov@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: dev@dpdk.org, stable@dpdk.org To: Anatoly Burakov Return-path: Content-Disposition: inline In-Reply-To: <727c5c165ffa76fd951dd47691411a3023654a48.1513867589.git.anatoly.burakov@intel.com> 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 Fri, Dec 22, 2017 at 10:12:08AM +0000, Anatoly Burakov wrote: > Fixes: ac3fb3019c52 ("app: rework ring tests") > Cc: stable@dpdk.org > Signed-off-by: Anatoly Burakov > --- > test/test/test_ring_perf.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/test/test/test_ring_perf.c b/test/test/test_ring_perf.c > index 84d2003..b586459 100644 > --- a/test/test/test_ring_perf.c > +++ b/test/test/test_ring_perf.c > @@ -420,6 +420,7 @@ test_ring_perf(void) > printf("\n### Testing using two NUMA nodes ###\n"); > run_on_core_pair(&cores, enqueue_bulk, dequeue_bulk); > } > + rte_ring_free(r); > return 0; > } Same comment than the functional ring test, r is static.