From mboxrd@z Thu Jan 1 00:00:00 1970 From: Catalin Marinas Subject: Re: Possible kernel memory leaks Date: Tue, 30 May 2006 18:00:55 +0100 Message-ID: References: <44797BEF.70206@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: In-Reply-To: <44797BEF.70206@gmail.com> (Catalin Marinas's message of "Sun, 28 May 2006 11:31:11 +0100") Sender: linux-kernel-owner@vger.kernel.org To: linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org List-Id: linux-acpi@vger.kernel.org Catalin Marinas wrote: > - acpi_evaluate_integer in drivers/acpi/utils.c - "element" is not freed > on the error path (if Coverity hasn't seen this, it was probably > confused by the return_* macros) This is simpler. I'll send a separate patch for it. > - acpi_ev_execute_reg_method in drivers/acpi/events/evregion.c - I'm not > sure about this but kmemleak reports an orphan pointer on the following > allocation path: > c0159372: > c01ffa07: > c0215b3a: > c02159ce: > c0203784: > c0203db4: > c020ed17: > c0203d6b: > Is acpi_ut_remove_reference actually removing the params[0/1]? I'll need to enable the ACPI debug output as I can't find the leak by only looking at the code. I'll let you know if there is a leak. -- Catalin