Re: [PATCH] Fix "notes" kobject leak

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Greg KH
Date: Monday, September 15, 2008 - 4:40 pm

On Tue, Sep 16, 2008 at 03:35:04AM +0400, Alexey Dobriyan wrote:

And that's about it (well, it also tears down the sysfs stuff.)

If you call kobject_put() instead, and it's the last put, it will also
call kobject_del() and do everything else that it needs to do.

Try it and let me know if I'm right or not :)

thanks,

greg k-h
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
kobject leak in next-20080829, Alexey Dobriyan, (Fri Aug 29, 9:42 pm)
Re: kobject leak in next-20080829, Greg KH, (Fri Aug 29, 10:43 pm)
Re: kobject leak in next-20080829 (and mainline), Alexey Dobriyan, (Fri Sep 5, 10:45 pm)
Re: kobject leak in next-20080829 (and mainline), Greg KH, (Fri Sep 12, 8:51 am)
[PATCH] Fix "notes" kobject leak, Alexey Dobriyan, (Sun Sep 14, 1:42 am)
Re: [PATCH] Fix "notes" kobject leak, Greg KH, (Mon Sep 15, 3:53 pm)
Re: [PATCH] Fix "notes" kobject leak, Alexey Dobriyan, (Mon Sep 15, 4:35 pm)
Re: [PATCH] Fix "notes" kobject leak, Greg KH, (Mon Sep 15, 4:40 pm)
[PATCH v2] Fix "notes" kobject leak, Alexey Dobriyan, (Tue Sep 23, 12:51 pm)