From patchwork Thu Mar 19 00:02:33 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Holmes X-Patchwork-Id: 46005 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f197.google.com (mail-lb0-f197.google.com [209.85.217.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 406692153C for ; Thu, 19 Mar 2015 00:03:00 +0000 (UTC) Received: by lbvn10 with SMTP id n10sf9924322lbv.1 for ; Wed, 18 Mar 2015 17:02:59 -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=J+BBlZNA6J8WaQWgbjtbU58lhJjtrOXbir/3Ktd3Sp0=; b=X6lFh98JgPsvHU/sc7pGwXOI21994+1/kjMVO3vivp7ua6qywH2bK3R4Bx+Ww8jIWr vDNikAUmEGAjMtU5a5fgIqX1HSOBTzyGgjdBRrhVsTHruFWs/ra85XiDinFdooll4Nbm f2byjyLclsFhI/TzVey3ETUXdo846fRUf1o2pvul2wCXe221ZbqsfE/pJz4G9lSqYHmI Evt4/H5OCIf5bjZogH45dLfQQIpO3ps6poqOTbhZJzFGGNgzZuETmwlILHwDgAd9MO1K Hduq1EgIXDCV4bJSfGrRObNceaKio16o5fuHXTKSxF2H5zE1F0VwEV5tvdYtLOOD1/D1 HF1w== X-Gm-Message-State: ALoCoQm4voy5FUZ7tqAVzumiASivIp61of0brpESOzTCUKBEWPBtQLYtsmklxXfo2/rvdHZPtNsw X-Received: by 10.152.19.67 with SMTP id c3mr10258625lae.7.1426723378949; Wed, 18 Mar 2015 17:02:58 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.206.72 with SMTP id lm8ls238287lac.3.gmail; Wed, 18 Mar 2015 17:02:58 -0700 (PDT) X-Received: by 10.112.225.137 with SMTP id rk9mr64267535lbc.11.1426723378802; Wed, 18 Mar 2015 17:02:58 -0700 (PDT) Received: from mail-lb0-f169.google.com (mail-lb0-f169.google.com. [209.85.217.169]) by mx.google.com with ESMTPS id ul4si13982795lbb.171.2015.03.18.17.02.58 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 18 Mar 2015 17:02:58 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.169 as permitted sender) client-ip=209.85.217.169; Received: by lbblx11 with SMTP id lx11so19308656lbb.3 for ; Wed, 18 Mar 2015 17:02:58 -0700 (PDT) X-Received: by 10.112.130.100 with SMTP id od4mr43825215lbb.86.1426723378526; Wed, 18 Mar 2015 17:02:58 -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 h5csp55022lbj; Wed, 18 Mar 2015 17:02:57 -0700 (PDT) X-Received: by 10.229.4.4 with SMTP id 4mr91007330qcp.8.1426723377276; Wed, 18 Mar 2015 17:02:57 -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 m63si18213983qge.85.2015.03.18.17.02.52 (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 18 Mar 2015 17:02:57 -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 1YYNvG-0004a5-MC; Thu, 19 Mar 2015 00:02:50 +0000 Received: from mail-qg0-f43.google.com ([209.85.192.43]) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1YYNvA-0004a0-Fg for lng-odp@lists.linaro.org; Thu, 19 Mar 2015 00:02:44 +0000 Received: by qgfa8 with SMTP id a8so52423810qgf.0 for ; Wed, 18 Mar 2015 17:02:39 -0700 (PDT) X-Received: by 10.229.202.136 with SMTP id fe8mr92048990qcb.26.1426723359305; Wed, 18 Mar 2015 17:02:39 -0700 (PDT) Received: from mike-desktop.?.holmesfamily.ws (c-98-221-136-245.hsd1.nj.comcast.net. [98.221.136.245]) by mx.google.com with ESMTPSA id 78sm12892123qkx.24.2015.03.18.17.02.38 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 18 Mar 2015 17:02:38 -0700 (PDT) From: Mike Holmes To: lng-odp@lists.linaro.org Date: Wed, 18 Mar 2015 20:02:33 -0400 Message-Id: <1426723353-8463-1-git-send-email-mike.holmes@linaro.org> X-Mailer: git-send-email 2.1.0 X-Topics: patch Subject: [lng-odp] [PATCH] linux-generic: linux: destroy used pthread attr 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: mike.holmes@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.169 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: Mike Holmes Reviewed-by: Bill Fischofer --- platform/linux-generic/odp_linux.c | 1 + 1 file changed, 1 insertion(+) diff --git a/platform/linux-generic/odp_linux.c b/platform/linux-generic/odp_linux.c index 67ad05c..a471dd6 100644 --- a/platform/linux-generic/odp_linux.c +++ b/platform/linux-generic/odp_linux.c @@ -140,6 +140,7 @@ void odph_linux_pthread_join(odph_linux_pthread_t *thread_tbl, int num) for (i = 0; i < num; i++) { /* Wait thread to exit */ pthread_join(thread_tbl[i].thread, NULL); + pthread_attr_destroy(&thread_tbl[i].attr); free(thread_tbl[i].start_args); }