diff options
| author | Greg Kroah-Hartman <greg@kroah.com> | 2004-12-02 20:40:55 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-12-02 20:40:55 -0800 |
| commit | 2cbba4826722baf7b0c9fae1c01949885384feea (patch) | |
| tree | be3ab5a736f169ae998751218b0255cb8bbe9e77 /include/linux | |
| parent | ea2e10e57a47bc786f37f3737d35f0144ac06d45 (diff) | |
[PATCH] sysfs: fix sysfs_dir_close memory leak
sysfs_dir_close did not free the "cursor" sysfs_dirent used for keeping
track of position in the list of sysfs_dirent nodes. Consequently,
doing a "find /sys" would leak a sysfs_dirent for each of the 1140
directories in my /sys tree, or about 36kB each time.
From: "Adam J. Richter" <adam@yggdrasil.com>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
