sysfs: Don't leak secdata when a sysfs_dirent is freed.
authorEric W. Biederman <ebiederm@xmission.com>
Wed, 4 Nov 2009 10:50:06 +0000 (02:50 -0800)
committerJames Morris <jmorris@namei.org>
Wed, 4 Nov 2009 21:19:18 +0000 (08:19 +1100)
While refreshing my sysfs patches I noticed a leak in the secdata
implementation.  We don't free the secdata when we free the
sysfs dirent.

This is a bug in 2.6.32-rc5 that we really should close.

Signed-off-by: Eric W. Biederman <ebiederm@aristanetworks.com>
Acked-by: Serge Hallyn <serue@us.ibm.com>
Signed-off-by: James Morris <jmorris@namei.org>

No differences found