From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f178.google.com (mail-wi0-f178.google.com [209.85.212.178]) by dpdk.org (Postfix) with ESMTP id 68BAD1396 for ; Thu, 26 Mar 2015 09:48:23 +0100 (CET) Received: by wibg7 with SMTP id g7so139738105wib.1 for ; Thu, 26 Mar 2015 01:48:23 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=g2OkBzRiZtTIHPv4TJ3Q7lMIkxk6E1F/Up1tkoY4CHI=; b=YEV0K2M8Z0w4nqDa2/GvfJ3nEiot+81O46WrMEF6RzTIwZ5njeq76FUzhsYzxzQvWT kkASVxd16DQcXdWVlB7KWR2YNpAsGjlLnceWfbhAtDIEa1uJ3SSo1KrntiJkM7PvBwDp +dkpSEI2DbDwYgo64ZBmgTdvVn3Y8Ax1xR8zy09jKtk9iqEcM33c+rJtIkacppWqM1Lw X3UNFqKThG+Ik7GJjbcpTKaHCA1ozYJmGO+Jqd97Et7qWikG6Ido+2WFdnsuM2FhlSyf jXE3vMJg7uyHqCU/umn3vSBesdV8jRoxKcYHpN7t9KROYB4UhLNM8a4KXOaPk9nqLrGM R2iw== X-Gm-Message-State: ALoCoQmBZnss3UgkYBivmKdqMIUZRF8oVz+G/m6zrMXyKRUVzGh6IVvUgXqPsuvcxXMXoG7ING52 X-Received: by 10.194.156.133 with SMTP id we5mr26400206wjb.37.1427359703268; Thu, 26 Mar 2015 01:48:23 -0700 (PDT) Received: from [10.16.0.195] (6wind.net2.nerim.net. [213.41.180.237]) by mx.google.com with ESMTPSA id 17sm7308924wjt.45.2015.03.26.01.48.22 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 26 Mar 2015 01:48:22 -0700 (PDT) Message-ID: <5513C7D8.6020209@6wind.com> Date: Thu, 26 Mar 2015 09:48:24 +0100 From: Olivier MATZ User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.3.0 MIME-Version: 1.0 To: dev@dpdk.org References: <1427302838-8285-1-git-send-email-olivier.matz@6wind.com> <1427302838-8285-6-git-send-email-olivier.matz@6wind.com> In-Reply-To: <1427302838-8285-6-git-send-email-olivier.matz@6wind.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH 5/5] test/mbuf: verify that cloning a clone works properly X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Mar 2015 08:48:23 -0000 On 03/25/2015 06:00 PM, Olivier Matz wrote: > Signed-off-by: Olivier Matz > --- > app/test/test_mbuf.c | 26 ++++++++++++++++++++++++++ > 1 file changed, 26 insertions(+) > > [...] > > @@ -394,6 +418,8 @@ fail: > rte_pktmbuf_free(m); > if (clone) > rte_pktmbuf_free(clone); > + if (clone2) > + rte_pktmbuf_free(clone); > return -1; > } > #undef GOTO_FAIL > Self-nak on this one, it should of course be rte_pktmbuf_free(clone2)