That "continue" is intentional and you are right, it will cause memory
leak. It should be preceded by kfree(res). I will fix that.
Thanks,
Khalid
On Fri, 2005-07-29 at 11:22 -0700, david mosberger wrote:
> Is the "continue" here spurious? If not, it would cause
> memory-leaking since "res" has been allocated already.
>
> + case EFI_MEMORY_MAPPED_IO:
> + case EFI_MEMORY_MAPPED_IO_PORT_SPACE:
> + continue;
> + break;
>
> --david
--
====================================================================
Khalid Aziz Open Source and Linux Organization
(970)898-9214 Hewlett-Packard
[EMAIL PROTECTED] Fort Collins, CO
"The Linux kernel is subject to relentless development"
- Alessandro Rubini
-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html