From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id E47191B381; Fri, 22 Dec 2017 11:12:14 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 22 Dec 2017 02:12:13 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.45,440,1508828400"; d="scan'208";a="3999313" Received: from irvmail001.ir.intel.com ([163.33.26.43]) by fmsmga002.fm.intel.com with ESMTP; 22 Dec 2017 02:12:12 -0800 Received: from sivswdev01.ir.intel.com (sivswdev01.ir.intel.com [10.237.217.45]) by irvmail001.ir.intel.com (8.14.3/8.13.6/MailSET/Hub) with ESMTP id vBMACBnv002161; Fri, 22 Dec 2017 10:12:11 GMT Received: from sivswdev01.ir.intel.com (localhost [127.0.0.1]) by sivswdev01.ir.intel.com with ESMTP id vBMACBAP008037; Fri, 22 Dec 2017 10:12:11 GMT Received: (from aburakov@localhost) by sivswdev01.ir.intel.com with LOCAL id vBMACBVq008033; Fri, 22 Dec 2017 10:12:11 GMT From: Anatoly Burakov To: dev@dpdk.org Cc: Olivier Matz , stable@dpdk.org Date: Fri, 22 Dec 2017 10:12:07 +0000 Message-Id: <5dee0afeaa0d007dfc9d949b1975c97537585ca4.1513867589.git.anatoly.burakov@intel.com> X-Mailer: git-send-email 1.7.0.7 In-Reply-To: <9d5a3bc7a779b2dddab4256aa3e0631737861f98.1513867589.git.anatoly.burakov@intel.com> References: <9d5a3bc7a779b2dddab4256aa3e0631737861f98.1513867589.git.anatoly.burakov@intel.com> In-Reply-To: <9d5a3bc7a779b2dddab4256aa3e0631737861f98.1513867589.git.anatoly.burakov@intel.com> References: <9d5a3bc7a779b2dddab4256aa3e0631737861f98.1513867589.git.anatoly.burakov@intel.com> Subject: [dpdk-stable] [PATCH 3/6] test: fix memory leak in ring autotest X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Dec 2017 10:12:15 -0000 Fixes: af75078fece3 ("first public release") Cc: stable@dpdk.org Signed-off-by: Anatoly Burakov --- test/test/test_ring.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/test/test_ring.c b/test/test/test_ring.c index 5eb40a0..004d67e 100644 --- a/test/test/test_ring.c +++ b/test/test/test_ring.c @@ -760,6 +760,7 @@ test_ring_basic_ex(void) ret = 0; fail_test: + rte_ring_free(rp); if (obj != NULL) rte_free(obj); @@ -894,6 +895,8 @@ test_ring(void) /* dump the ring status */ rte_ring_list_dump(stdout); + rte_ring_free(r); + return 0; } -- 2.7.4