[PATCH] Small kfree cleanup, save a local variable.

Chris Wright chrisw at osdl.org
Sun Jun 19 20:20:18 UTC 2005


* Jesper Juhl (jesper.juhl at gmail.com) wrote:
> On 6/19/05, Chris Wright <chrisw at osdl.org> wrote:
> > * Jesper Juhl (juhl-lkml at dif.dk) wrote:
> > > Here's a patch with a small improvement to kernel/auditsc.c .
> > > There's no need for the local variable  struct audit_entry *e  ,
> > > we can just call kfree directly on container_of() .
> > > Patch also removes an extra space a little further down in the file.
> > 
> > Please Cc: linux-audit at redhat.com on audit patches.
> 
> I didn't find that address in MAINTAINERS nor in the source file. I
> had no idea it existed. Perhaps it ought to be listed in MAINTAINERS
> somewhere...

Ahh, good point, that needs to be fixed.

thanks,
-chris




More information about the Linux-audit mailing list