Smack: setprocattr memory leak fix
authorCasey Schaufler <casey@schaufler-ca.com>
Wed, 22 Aug 2012 18:44:03 +0000 (11:44 -0700)
committerCasey Schaufler <casey@schaufler-ca.com>
Tue, 18 Sep 2012 16:51:06 +0000 (09:51 -0700)
The data structure allocations being done in prepare_creds
are duplicated in smack_setprocattr. This results in the
structure allocated in prepare_creds being orphaned and
never freed. The duplicate code is removed from
smack_setprocattr.

Targeted for git://git.gitorious.org/smack-next/kernel.git

Signed-off-by: Casey Schaufler <casey@schaufler-ca.com>

No differences found