From 90523c6e9024f81c3256e33e89cf4bdd84e97a18 Mon Sep 17 00:00:00 2001 From: Paul Moore Date: Wed, 1 Aug 2007 11:12:58 -0400 Subject: [PATCH] --- yaml --- r: 63572 b: refs/heads/master c: 088999e98b8caecd31adc3b62223a228555c5ab7 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/security/selinux/hooks.c | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index fc67ff83cff0..f26aff8c45f0 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 9534f71ca33e5a9de26dfd43c76af86e005005dd +refs/heads/master: 088999e98b8caecd31adc3b62223a228555c5ab7 diff --git a/trunk/security/selinux/hooks.c b/trunk/security/selinux/hooks.c index 0fac6829c63a..6237933f7d82 100644 --- a/trunk/security/selinux/hooks.c +++ b/trunk/security/selinux/hooks.c @@ -4658,8 +4658,7 @@ static int selinux_secid_to_secctx(u32 secid, char **secdata, u32 *seclen) static void selinux_release_secctx(char *secdata, u32 seclen) { - if (secdata) - kfree(secdata); + kfree(secdata); } #ifdef CONFIG_KEYS