commit | d93e34faf924bd98f158712d63085662e648e389 | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Fri Dec 17 07:41:48 2010 -0500 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Wed Jan 12 20:02:44 2011 -0500 |
tree | aeff9b974f175497dfb1849cc9647dae5ae6546f | |
parent | 94b77bd86f8ad458fa7870def78ec3a8a7caa986 [diff] |
pohmelfs: double-free and leak wrong dentry dropped... Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
diff --git a/drivers/staging/pohmelfs/net.c b/drivers/staging/pohmelfs/net.c index 9279897..b2e9186 100644 --- a/drivers/staging/pohmelfs/net.c +++ b/drivers/staging/pohmelfs/net.c
@@ -413,7 +413,7 @@ if (dentry) { alias = d_materialise_unique(dentry, &npi->vfs_inode); if (alias) - dput(dentry); + dput(alias); } dput(dentry);