Re: [PATCH][SELinux] Let us not leak memory in SELinux :security_netlbl_cache_add()

From: James Morris
Date: Fri Jul 20 2007 - 19:40:06 EST


On Sat, 21 Jul 2007, Jesper Juhl wrote:

> Hi,
>
> Leaking memory is a bad idea, so let's not do it, in
> security/selinux/ss/services.c::security_netlbl_cache_add().
>
> Note: The Coverity checker gets credit for spotting this one.
> Note: Patch has only been compile tested.

Thanks!

Verified and applied to:

git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/selinux-2.6.git#for-linus





- James
--
James Morris
<jmorris@xxxxxxxxx>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/