From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v3 3/6] test/hash: test more corner cases in unit test Date: Fri, 26 Oct 2018 13:02:41 +0200 Message-ID: <29631663.p2uedxxcba@xps> References: <1540404570-102126-1-git-send-email-yipeng1.wang@intel.com> <1540494678-64299-4-git-send-email-yipeng1.wang@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, Honnappa Nagarahalli , "bruce.richardson@intel.com" , "stephen@networkplumber.org" , "sameh.gobriel@intel.com" To: Yipeng Wang Return-path: Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by dpdk.org (Postfix) with ESMTP id 3E3E44F90 for ; Fri, 26 Oct 2018 13:02:41 +0200 (CEST) In-Reply-To: List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" > > --- a/test/test/test_hash_readwrite.c > > +++ b/test/test/test_hash_readwrite.c > > test_hash_readwrite_worker(__attribute__((unused)) void *arg) > > uint64_t i, offset; > > uint32_t lcore_id = rte_lcore_id(); > > uint64_t begin, cycles; > > -int ret; > > +int *ret; > > > > +ret = rte_malloc(NULL, sizeof(int) * > > +tbl_rw_test_param.num_insert, 0); > This memory needs to be freed at the end of this function I am waiting a v4 for this change, please.