diff options
author | 2008-10-11 09:26:14 +1100 | |
---|---|---|
committer | 2008-10-11 09:26:14 +1100 | |
commit | 0da939b0058742ad2d8580b7db6b966d0fc72252 (patch) | |
tree | 47cb109fdf97135191bff5db4e3bfc905136bf8b /security/smack/smackfs.c | |
parent | As pointed out by Jonathan Corbet, the timer must be deleted before (diff) | |
parent | netlabel: Add configuration support for local labeling (diff) | |
download | linux-0da939b0058742ad2d8580b7db6b966d0fc72252.tar.gz linux-0da939b0058742ad2d8580b7db6b966d0fc72252.tar.bz2 linux-0da939b0058742ad2d8580b7db6b966d0fc72252.zip |
Merge branch 'master' of git://git.infradead.org/users/pcmoore/lblnet-2.6_next into next
Diffstat (limited to 'security/smack/smackfs.c')
-rw-r--r-- | security/smack/smackfs.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/security/smack/smackfs.c b/security/smack/smackfs.c index e7c642458ec9..c21d8c8bf0c7 100644 --- a/security/smack/smackfs.c +++ b/security/smack/smackfs.c @@ -354,9 +354,11 @@ static void smk_cipso_doi(void) doip->tags[rc] = CIPSO_V4_TAG_INVALID; rc = netlbl_cfg_cipsov4_add_map(doip, NULL, &audit_info); - if (rc != 0) + if (rc != 0) { printk(KERN_WARNING "%s:%d add rc = %d\n", __func__, __LINE__, rc); + kfree(doip); + } } /** |