diff options
author | Peter Staubach | 2005-11-07 09:59:42 +0100 |
---|---|---|
committer | Linus Torvalds | 2005-11-07 16:53:39 +0100 |
commit | 6fdcc2162285a8fc96ab12ff85086c37bceaa494 (patch) | |
tree | 957c0a2c2c273f6f13d8b9f95412f71856b5d449 /include | |
parent | [PATCH] perform maintenance on Documentation/vm/hugetlbpage.txt (diff) | |
download | kernel-qcow2-linux-6fdcc2162285a8fc96ab12ff85086c37bceaa494.tar.gz kernel-qcow2-linux-6fdcc2162285a8fc96ab12ff85086c37bceaa494.tar.xz kernel-qcow2-linux-6fdcc2162285a8fc96ab12ff85086c37bceaa494.zip |
[PATCH] memory leak in dentry_open()
There is a memory leak possible in dentry_open(). If get_empty_filp()
fails, then the references to dentry and mnt need to be released. The
attached patch adds the calls to dput() and mntput() to release these two
references.
Signed-off-by: Peter Staubach <staubach@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions