Re: [PATCH 2.6.17-rc6] Fix the memory leak in acpi_evaluate_integer()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Catalin,

On 07/06/06, Catalin Marinas <catalin.marinas@xxxxxxx> wrote:
From: Catalin Marinas <catalin.marinas@xxxxxxx>

A leak can happen because of the early returns from this function
(discovered by kmemleak).

Signed-off-by: Catalin Marinas <catalin.marinas@xxxxxxx>
---

all
orphan pointer 0xf7e97654 (size 40):
 c0151044: <kmem_cache_alloc>
 c01e8656: <acpi_os_acquire_object>
 c01fe087: <acpi_ut_allocate_object_desc_dbg>
 c01fdf1b: <acpi_ut_create_internal_object_dbg>
 c01ec2a0: <acpi_ev_execute_reg_method>
 c01ec898: <acpi_ev_reg_run>
 c01f7453: <acpi_ns_walk_namespace>
 c01ec859: <acpi_ev_execute_reg_methods>

are gone. But now I get a lot of

orphan pointer 0xf7ea1654 (size 40):
 c015208c: <kmem_cache_alloc>
 c01eb6c2: <acpi_os_acquire_object>
 c02010f7: <acpi_ut_allocate_object_desc_dbg>
 c0200f8b: <acpi_ut_create_internal_object_dbg>
 c01ef310: <acpi_ev_execute_reg_method>
 c01ef908: <acpi_ev_reg_run>
 c01fa4c3: <acpi_ns_walk_namespace>
 c01ef8c9: <acpi_ev_execute_reg_methods>
 c01ef293: <acpi_ev_initialize_op_regions>
 c02000d4: <acpi_initialize_objects>
 c03a0a37: <acpi_bus_init>
 c03a0ada: <acpi_init>
 c038e871: <do_initcalls>
 c038e91e: <do_basic_setup>
 c0100367: <init>

Regards,
Michal

--
Michal K. K. Piotrowski
LTG - Linux Testers Group
(http://www.stardust.webpages.pl/ltg/wiki/)
-
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux