Re: [PATCH] /proc/iomem update

From: Khalid Aziz <khalid_aziz_at_hp.com>
Date: 2005-07-30 05:40:06
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
khalid.aziz@hp.com                                  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 majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Fri Jul 29 15:45:23 2005

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:40 EST