Catalin Marinas <catalin.marinas@xxxxxxxxx> 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: <kmem_cache_alloc> > c01ffa07: <acpi_os_acquire_object> > c0215b3a: <acpi_ut_allocate_object_desc_dbg> > c02159ce: <acpi_ut_create_internal_object_dbg> > c0203784: <acpi_ev_execute_reg_method> > c0203db4: <acpi_ev_reg_run> > c020ed17: <acpi_ns_walk_namespace> > c0203d6b: <acpi_ev_execute_reg_methods> > 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 - 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