From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Michal Piotrowski" Subject: Re: [PATCH 2.6.17-rc6] Fix the memory leak in acpi_evaluate_integer() Date: Wed, 7 Jun 2006 14:17:50 +0200 Message-ID: <6bffcb0e0606070517h37df2e95y3da73d59b2b65066@mail.gmail.com> References: <20060607113354.9720.85323.stgit@localhost.localdomain> <6bffcb0e0606070515j797d6cb2o66d055947550d48b@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from wr-out-0506.google.com ([64.233.184.233]:28208 "EHLO wr-out-0506.google.com") by vger.kernel.org with ESMTP id S932231AbWFGMRv (ORCPT ); Wed, 7 Jun 2006 08:17:51 -0400 Received: by wr-out-0506.google.com with SMTP id i11so414266wra for ; Wed, 07 Jun 2006 05:17:51 -0700 (PDT) In-Reply-To: <6bffcb0e0606070515j797d6cb2o66d055947550d48b@mail.gmail.com> Content-Disposition: inline Sender: linux-acpi-owner@vger.kernel.org List-Id: linux-acpi@vger.kernel.org To: catalin.marinas@gmail.com Cc: linux-acpi@vger.kernel.org On 07/06/06, Michal Piotrowski wrote: > Hi Catalin, > > On 07/06/06, Catalin Marinas wrote: > > From: Catalin Marinas > > > > A leak can happen because of the early returns from this function > > (discovered by kmemleak). > > > > Signed-off-by: Catalin Marinas > > --- > > all > orphan pointer 0xf7e97654 (size 40): > c0151044: > c01e8656: > c01fe087: > c01fdf1b: > c01ec2a0: > c01ec898: > c01f7453: > c01ec859: > > are gone. But now I get a lot of > > orphan pointer 0xf7ea1654 (size 40): > c015208c: > c01eb6c2: > c02010f7: > c0200f8b: > c01ef310: > c01ef908: > c01fa4c3: > c01ef8c9: > c01ef293: > c02000d4: > c03a0a37: > c03a0ada: > c038e871: > c038e91e: > c0100367: Ups, sorry for noise. I forgot about CONFIG_DEBUG_MEMLEAK_TRACE_LENGTH=16 Regards, Michal -- Michal K. K. Piotrowski LTG - Linux Testers Group (http://www.stardust.webpages.pl/ltg/wiki/)