[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Wed, 9 Sep 2009 10:03:45 -0700
From: Greg KH <gregkh@...e.de>
To: Sebastian Ott <sebott@...ux.vnet.ibm.com>
Cc: linux-kernel@...r.kernel.org, kay.sievers@...y.org
Subject: Re: [PATCH] kobject_set_name: free old_name in case of ENOMEM
On Wed, Sep 09, 2009 at 06:53:21PM +0200, Sebastian Ott wrote:
>
> If the memory allocation for the kobject's name fails we should free
> the old_name since it is no longer accessible via kobj->name.
Hasn't this come up a bunch in the past, and we do not want to do this?
You might want to search the lkml archives for details...
thanks,
greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists