[PATCH] powerpc: Remove double free

Greg Kroah-Hartman gregkh at linuxfoundation.org
Wed May 15 21:30:19 AEST 2019


On Wed, May 15, 2019 at 11:26:03AM +0200, Christophe Leroy wrote:
> kobject_put() released index_dir->kobj

Yes, but what is that kobject enclosed in?

> but who will release 'index' ?

The final kobject_put() will do that, see cacheinfo_create_index_dir()
for the details.

And please do not top-post, you lost all context.

greg k-h


More information about the Linuxppc-dev mailing list