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:15:24 +0200 Message-ID: <6bffcb0e0606070515j797d6cb2o66d055947550d48b@mail.gmail.com> References: <20060607113354.9720.85323.stgit@localhost.localdomain> 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.230]:26158 "EHLO wr-out-0506.google.com") by vger.kernel.org with ESMTP id S932228AbWFGMP0 (ORCPT ); Wed, 7 Jun 2006 08:15:26 -0400 Received: by wr-out-0506.google.com with SMTP id i11so413490wra for ; Wed, 07 Jun 2006 05:15:25 -0700 (PDT) In-Reply-To: <20060607113354.9720.85323.stgit@localhost.localdomain> 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 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: Regards, Michal -- Michal K. K. Piotrowski LTG - Linux Testers Group (http://www.stardust.webpages.pl/ltg/wiki/)