From patchwork Fri Mar 20 10:15:02 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christophe Milard X-Patchwork-Id: 46134 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-we0-f198.google.com (mail-we0-f198.google.com [74.125.82.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 2422821418 for ; Fri, 20 Mar 2015 10:15:47 +0000 (UTC) Received: by wesw62 with SMTP id w62sf37699wes.0 for ; Fri, 20 Mar 2015 03:15:46 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:date:message-id:subject :precedence:list-id:list-unsubscribe:list-archive:list-post :list-help:list-subscribe:mime-version:content-type :content-transfer-encoding:errors-to:sender:x-original-sender :x-original-authentication-results:mailing-list; bh=SB1rOWl+QS7XeeYD1P/JBj6oXpR+KDYctezQS86jlk0=; b=LvU5nr1SC59uVsc0jDGPcRQ4XoGj/XXMv2gedQhnWnTaxzaA7NvbBzXqj7BQhLq98X kPQabf4+Sh5V988cSxmIAG0OyIMhNUqfRLOs69VZfK+Kdl3o0ZebP1Ey7qNRd/ZzfNXG uocj4vkszlPfS5d5huzdGLMpYH0jVZUL6/O51965WkSwaCevc8lfklykPLYDemXS4CxD 4FJZJuUc5kCzmvSZFf4PIbDGclpK6a21Eg932AU4WppYbwChxuGzChNnlnFgy4SPhiGo nF73KwtbxDbCVZKTEto/sJiqjnQ5JP844dsGD6bDz/DWq/TOl3TUA66qrbHtOyUFYSzT nOzA== X-Gm-Message-State: ALoCoQkI/L/hjBrVpSZoUISLfFck7HHy2ZubH4y06Sxgke2gy1+eWWnfgPH+gIJdmtgjp+2Is24n X-Received: by 10.152.8.73 with SMTP id p9mr8533125laa.6.1426846546409; Fri, 20 Mar 2015 03:15:46 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.153.6.33 with SMTP id cr1ls343619lad.47.gmail; Fri, 20 Mar 2015 03:15:46 -0700 (PDT) X-Received: by 10.152.23.133 with SMTP id m5mr47178598laf.71.1426846546261; Fri, 20 Mar 2015 03:15:46 -0700 (PDT) Received: from mail-lb0-f178.google.com (mail-lb0-f178.google.com. [209.85.217.178]) by mx.google.com with ESMTPS id z5si2873766lbf.103.2015.03.20.03.15.46 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 20 Mar 2015 03:15:46 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.178 as permitted sender) client-ip=209.85.217.178; Received: by lbbsy1 with SMTP id sy1so71871776lbb.1 for ; Fri, 20 Mar 2015 03:15:46 -0700 (PDT) X-Received: by 10.112.160.65 with SMTP id xi1mr9838004lbb.56.1426846546134; Fri, 20 Mar 2015 03:15:46 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.35.133 with SMTP id h5csp925082lbj; Fri, 20 Mar 2015 03:15:45 -0700 (PDT) X-Received: by 10.140.94.97 with SMTP id f88mr98198900qge.38.1426846544872; Fri, 20 Mar 2015 03:15:44 -0700 (PDT) Received: from ip-10-35-177-41.ec2.internal (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTPS id i77si3900537qge.99.2015.03.20.03.15.43 (version=TLSv1 cipher=RC4-SHA bits=128/128); Fri, 20 Mar 2015 03:15:44 -0700 (PDT) Received-SPF: none (google.com: lng-odp-bounces@lists.linaro.org does not designate permitted sender hosts) client-ip=54.225.227.206; Received: from localhost ([127.0.0.1] helo=ip-10-35-177-41.ec2.internal) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1YYtxs-0002su-VE; Fri, 20 Mar 2015 10:15:40 +0000 Received: from mail-la0-f46.google.com ([209.85.215.46]) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1YYtxn-0002sp-Jo for lng-odp@lists.linaro.org; Fri, 20 Mar 2015 10:15:35 +0000 Received: by ladw1 with SMTP id w1so83234326lad.0 for ; Fri, 20 Mar 2015 03:15:29 -0700 (PDT) X-Received: by 10.112.146.129 with SMTP id tc1mr49954662lbb.27.1426846529591; Fri, 20 Mar 2015 03:15:29 -0700 (PDT) Received: from erachmi-VirtualBox.ki.sw.ericsson.se (c-83-233-76-75.cust.bredband2.com. [83.233.76.75]) by mx.google.com with ESMTPSA id n9sm836614lbp.0.2015.03.20.03.15.28 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 20 Mar 2015 03:15:28 -0700 (PDT) From: Christophe Milard To: lng-odp@lists.linaro.org Date: Fri, 20 Mar 2015 11:15:02 +0100 Message-Id: <1426846502-19353-1-git-send-email-christophe.milard@linaro.org> X-Mailer: git-send-email 1.9.1 X-Topics: patch Subject: [lng-odp] [PATCH] validation: fixed memory leak in odp_cpumask.c X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , MIME-Version: 1.0 Errors-To: lng-odp-bounces@lists.linaro.org Sender: lng-odp-bounces@lists.linaro.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: christophe.milard@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.178 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 Signed-off-by: Christophe Milard --- test/validation/odp_cpumask.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/validation/odp_cpumask.c b/test/validation/odp_cpumask.c index 2285034..b7e18d6 100644 --- a/test/validation/odp_cpumask.c +++ b/test/validation/odp_cpumask.c @@ -148,6 +148,9 @@ static void test_odp_cpumask_to_from_str(void) CU_ASSERT_NSTRING_EQUAL(buf_out, TEST_MASK_CPU_0, stringlen(TEST_MASK_CPU_0) + 1); + + free(buf_out); + free(buf_in); } static void test_odp_cpumask_equal(void)