From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26018 invoked by alias); 10 Mar 2008 14:04:27 -0000 Received: (qmail 26005 invoked by uid 22791); 10 Mar 2008 14:04:26 -0000 X-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from londo.lunn.ch (HELO londo.lunn.ch) (80.238.139.98) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 10 Mar 2008 14:04:04 +0000 Received: from lunn by londo.lunn.ch with local (Exim 3.36 #1 (Debian)) id 1JYibf-0002MB-00; Mon, 10 Mar 2008 15:03:59 +0100 Date: Mon, 10 Mar 2008 14:04:00 -0000 From: Andrew Lunn To: ?yvind Harboe Cc: eCos Disuss Subject: Re: Fix for memory leak in profiling Message-ID: <20080310140359.GP770@lunn.ch> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17+20080114 (2008-01-14) X-IsSubscribed: yes Mailing-List: contact ecos-patches-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: ecos-patches-owner@ecos.sourceware.org X-SW-Source: 2008-03/txt/msg00007.txt.bz2 Hi Oyvind I think a better fix is to make profile_off() call tftpd_stop(). Andrew