From patchwork Wed Mar 18 23:46:02 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Holmes X-Patchwork-Id: 46004 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-we0-f200.google.com (mail-we0-f200.google.com [74.125.82.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id F1A462153C for ; Wed, 18 Mar 2015 23:46:29 +0000 (UTC) Received: by wesk11 with SMTP id k11sf5087708wes.3 for ; Wed, 18 Mar 2015 16:46:29 -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=5aW77khbfgywjKpx9sxDNBnErygTjOt6yT7zup9sru0=; b=B89YNkLaggS7AfXU8wDyJMW7u/ztsFI2NEtZVII/pT8Pqen4/R/AY+QhWyIH6dHuY9 gaR3pxkL3wGKNZwh8wBysNwe6EcDVOfTGV9lZ7vnXjiL9IJBTW51WekCi7sDqkmO8f2l JvnA+ZLvAvya7XGK+csfIrsciYsXnMZSsU9cwbabW23+puuBU0VceJu67Qzg7mGiNP1E coklHaDZ/h7AO9ryXOcF4IO2JhFccnzVaYgZSGOEiQzqy3/liDW6uyw/dA+77m4WBLF+ sSftLy4FQJxa51dkj+dH2VhaFi/TaryutbsAXKbSnBTQ4MCrX/YpMwoCj0RLXnF+Mg6Q chdA== X-Gm-Message-State: ALoCoQnYJI/UO0gG8SDtKKZEEFCwQ62Ve2MjJdLef55Fiot1TQ2aNg8OUmQXIZLYp7zTu0/CzSDL X-Received: by 10.112.142.1 with SMTP id rs1mr9510793lbb.19.1426722389253; Wed, 18 Mar 2015 16:46:29 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.242.132 with SMTP id wq4ls239672lac.30.gmail; Wed, 18 Mar 2015 16:46:29 -0700 (PDT) X-Received: by 10.112.223.7 with SMTP id qq7mr66681702lbc.81.1426722389007; Wed, 18 Mar 2015 16:46:29 -0700 (PDT) Received: from mail-la0-f45.google.com (mail-la0-f45.google.com. [209.85.215.45]) by mx.google.com with ESMTPS id qk1si13976161lbb.60.2015.03.18.16.46.28 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 18 Mar 2015 16:46:28 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.45 as permitted sender) client-ip=209.85.215.45; Received: by ladw1 with SMTP id w1so49190449lad.0 for ; Wed, 18 Mar 2015 16:46:28 -0700 (PDT) X-Received: by 10.112.130.195 with SMTP id og3mr65347627lbb.112.1426722388727; Wed, 18 Mar 2015 16:46:28 -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 h5csp49710lbj; Wed, 18 Mar 2015 16:46:28 -0700 (PDT) X-Received: by 10.55.20.35 with SMTP id e35mr110706222qkh.37.1426722387500; Wed, 18 Mar 2015 16:46:27 -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 13si18159085qhw.119.2015.03.18.16.46.24 (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 18 Mar 2015 16:46:27 -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 1YYNfI-0003w7-E0; Wed, 18 Mar 2015 23:46:20 +0000 Received: from mail-qc0-f175.google.com ([209.85.216.175]) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1YYNfD-0003vz-49 for lng-odp@lists.linaro.org; Wed, 18 Mar 2015 23:46:15 +0000 Received: by qcbjx9 with SMTP id jx9so14399143qcb.0 for ; Wed, 18 Mar 2015 16:46:10 -0700 (PDT) X-Received: by 10.140.41.169 with SMTP id z38mr89589068qgz.56.1426722369956; Wed, 18 Mar 2015 16:46:09 -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 17sm12864976qhq.23.2015.03.18.16.46.08 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 18 Mar 2015 16:46:09 -0700 (PDT) From: Mike Holmes To: lng-odp@lists.linaro.org Date: Wed, 18 Mar 2015 19:46:02 -0400 Message-Id: <1426722362-30982-1-git-send-email-mike.holmes@linaro.org> X-Mailer: git-send-email 2.1.0 X-Topics: timers patch Subject: [lng-odp] [PATCH] validation: timer: free malloced memory 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.215.45 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 clean up after calling malloc Signed-off-by: Mike Holmes --- test/validation/odp_timer.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/validation/odp_timer.c b/test/validation/odp_timer.c index 1582c63..fd8065d 100644 --- a/test/validation/odp_timer.c +++ b/test/validation/odp_timer.c @@ -427,6 +427,8 @@ static void *worker_entrypoint(void *arg) if (tt[i].ev != ODP_EVENT_INVALID) odp_timeout_free(odp_timeout_from_event(tt[i].ev)); } + + free(tt); LOG_DBG("Thread %u: exiting\n", thr); return NULL; }