--
From: Greg KH [mailto:gre...@linuxfoundation.org]
Sent: Tuesday, June 9, 2015 4:56 AM
To: Chen, Lin Z
Cc: linux-kernel@vger.kernel.org; He, Bo; yanmin_zh...@linux.intel.com
Subject: Re: [PATCH] class: Free the kobject.name if kset_register fails
On Mon, Jun 08, 2015 at 03:49:37PM +0800, Chen Lin
On Mon, Jun 08, 2015 at 03:49:37PM +0800, Chen Lin Z wrote:
> Fix a memory leak by freeing the memory allocated in kobject_set_name
> for the kobjet name.
>
> unreferenced object 0xe2167700 (size 64):
> comm "swapper/0", pid 1, jiffies 4294938161 (age 90.540s)
> hex dump (first 32 bytes):
>
On Mon, Jun 08, 2015 at 03:49:37PM +0800, Chen Lin Z wrote:
Fix a memory leak by freeing the memory allocated in kobject_set_name
for the kobjet name.
unreferenced object 0xe2167700 (size 64):
comm swapper/0, pid 1, jiffies 4294938161 (age 90.540s)
hex dump (first 32 bytes):
6d 61
...@linuxfoundation.org]
Sent: Tuesday, June 9, 2015 4:56 AM
To: Chen, Lin Z
Cc: linux-kernel@vger.kernel.org; He, Bo; yanmin_zh...@linux.intel.com
Subject: Re: [PATCH] class: Free the kobject.name if kset_register fails
On Mon, Jun 08, 2015 at 03:49:37PM +0800, Chen Lin Z wrote:
Fix a memory leak
4 matches
Mail list logo