commit | 314dabb83a547ec4da819e8cbc78fac9cec605cd | [log] [tgz] |
---|---|---|
author | James Morris <jmorris@namei.org> | Mon Aug 10 22:00:13 2009 +1000 |
committer | James Morris <jmorris@namei.org> | Tue Aug 11 08:37:13 2009 +1000 |
tree | 8e32efc47c52a218bfb4eb517ae2ba14d496adcc | |
parent | 85dfd81dc57e8183a277ddd7a56aa65c96f3f487 [diff] |
SELinux: fix memory leakage in /security/selinux/hooks.c Fix memory leakage in /security/selinux/hooks.c The buffer always needs to be freed here; we either error out or allocate more memory. Reported-by: iceberg <strakh@ispras.ru> Signed-off-by: James Morris <jmorris@namei.org> Acked-by: Stephen Smalley <sds@tycho.nsa.gov>