aboutsummaryrefslogtreecommitdiffstats
path: root/security/smack/smackfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'security/smack/smackfs.c')
-rw-r--r--security/smack/smackfs.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/security/smack/smackfs.c b/security/smack/smackfs.c
index 271a835fbbe3..9733f8eb1a2a 100644
--- a/security/smack/smackfs.c
+++ b/security/smack/smackfs.c
@@ -343,9 +343,11 @@ static void smk_cipso_doi(void)
343 doip->tags[rc] = CIPSO_V4_TAG_INVALID; 343 doip->tags[rc] = CIPSO_V4_TAG_INVALID;
344 344
345 rc = netlbl_cfg_cipsov4_add_map(doip, NULL, &audit_info); 345 rc = netlbl_cfg_cipsov4_add_map(doip, NULL, &audit_info);
346 if (rc != 0) 346 if (rc != 0) {
347 printk(KERN_WARNING "%s:%d add rc = %d\n", 347 printk(KERN_WARNING "%s:%d add rc = %d\n",
348 __func__, __LINE__, rc); 348 __func__, __LINE__, rc);
349 kfree(doip);
350 }
349} 351}
350 352
351/** 353/**