From patchwork Mon Aug 25 20:06:28 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anders Roxell X-Patchwork-Id: 35940 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qc0-f200.google.com (mail-qc0-f200.google.com [209.85.216.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id ECD5B203C0 for ; Mon, 25 Aug 2014 20:06:49 +0000 (UTC) Received: by mail-qc0-f200.google.com with SMTP id w7sf43918424qcr.7 for ; Mon, 25 Aug 2014 13:06:49 -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:errors-to:sender :x-original-sender:x-original-authentication-results:mailing-list :content-type:content-transfer-encoding; bh=JBaLrLjgFp1RVXu9FoRsrWZqN5CH7cYIRJ6aIMujc0M=; b=HtK2Gj3TBN4pO+T/ShSxgRVxGGAnxsYjpoMcA7olvGQa6z9++LUneUgIWs/HJY1KUf bGicbdegcfCkOtNTGZKkfsOGaUlfkGn0Jgr8UUmxOYLh/f2MdXJA26si9LTwIVjqYkCC 74hcC/hhAaR3jbV5KMw6zvgjRkQmrqcWpMUsKRPgZ9eIkvTqHsOMNH+SPSXBTje5WQQt WGXIy5KsNFc2XrjPZXVdAlhW6nn0CmUeTxEBPoPnLbfxteAHs93xWMH8311oU1Y8Rwae B7juKTs3y2swKrQG3LzNvBvXAEAFiBri8V4g2fwbRH84yb7PtXSqWJ+5ML8m220DH3y3 e4Mg== X-Gm-Message-State: ALoCoQnYd/sjzF3TSlLbb2XFlOylShXLrRZmCP5HtCOLjcTkwlrB7IN2mRZANw5Mv/LDPsAPmKQD X-Received: by 10.236.63.67 with SMTP id z43mr2502394yhc.11.1408997209817; Mon, 25 Aug 2014 13:06:49 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.40.47 with SMTP id w44ls2171332qgw.95.gmail; Mon, 25 Aug 2014 13:06:49 -0700 (PDT) X-Received: by 10.220.2.136 with SMTP id 8mr20304322vcj.17.1408997209697; Mon, 25 Aug 2014 13:06:49 -0700 (PDT) Received: from mail-vc0-f182.google.com (mail-vc0-f182.google.com [209.85.220.182]) by mx.google.com with ESMTPS id p4si527349vcn.54.2014.08.25.13.06.49 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 25 Aug 2014 13:06:49 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.182 as permitted sender) client-ip=209.85.220.182; Received: by mail-vc0-f182.google.com with SMTP id hy4so15561466vcb.41 for ; Mon, 25 Aug 2014 13:06:49 -0700 (PDT) X-Received: by 10.220.112.143 with SMTP id w15mr7454027vcp.41.1408997209616; Mon, 25 Aug 2014 13:06:49 -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.221.45.67 with SMTP id uj3csp144061vcb; Mon, 25 Aug 2014 13:06:49 -0700 (PDT) X-Received: by 10.140.102.162 with SMTP id w31mr35813319qge.67.1408997209037; Mon, 25 Aug 2014 13:06:49 -0700 (PDT) Received: from ip-10-141-164-156.ec2.internal (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTPS id h10si1204108qaz.50.2014.08.25.13.06.48 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 25 Aug 2014 13:06:49 -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-141-164-156.ec2.internal) by ip-10-141-164-156.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1XM0XO-0000Sk-Q9; Mon, 25 Aug 2014 20:06:46 +0000 Received: from mail-la0-f48.google.com ([209.85.215.48]) by ip-10-141-164-156.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1XM0XI-0000SM-8n for lng-odp@lists.linaro.org; Mon, 25 Aug 2014 20:06:40 +0000 Received: by mail-la0-f48.google.com with SMTP id gl10so13996213lab.35 for ; Mon, 25 Aug 2014 13:06:34 -0700 (PDT) X-Received: by 10.152.23.6 with SMTP id i6mr23456386laf.39.1408997193992; Mon, 25 Aug 2014 13:06:33 -0700 (PDT) Received: from localhost (c-853670d5.07-21-73746f28.cust.bredbandsbolaget.se. [213.112.54.133]) by mx.google.com with ESMTPSA id m5sm522167laa.37.2014.08.25.13.06.32 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Mon, 25 Aug 2014 13:06:32 -0700 (PDT) From: Anders Roxell To: lng-odp@lists.linaro.org Date: Mon, 25 Aug 2014 22:06:28 +0200 Message-Id: <1408997188-22253-1-git-send-email-anders.roxell@linaro.org> X-Mailer: git-send-email 1.9.1 X-Topics: patch Subject: [lng-odp] [PATCH] platform/linux-dpdk/odp_linux.c: fix memory leak 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: anders.roxell@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.220.182 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: Anders Roxell --- platform/linux-dpdk/odp_linux.c | 1 + 1 file changed, 1 insertion(+) diff --git a/platform/linux-dpdk/odp_linux.c b/platform/linux-dpdk/odp_linux.c index 067bd99..a694f65 100644 --- a/platform/linux-dpdk/odp_linux.c +++ b/platform/linux-dpdk/odp_linux.c @@ -78,6 +78,7 @@ void odp_linux_pthread_create(odp_linux_pthread_t *thread_tbl, int num, odp_run_start_routine(start_args); lcore_config[cpu].state = FINISHED; } + free(start_args); } }