mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-12 10:55:08 +00:00
pohmelfs: double-free and leak
wrong dentry dropped... Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
94b77bd86f
commit
d93e34faf9
@ -413,7 +413,7 @@ static int pohmelfs_readdir_response(struct netfs_state *st)
|
||||
if (dentry) {
|
||||
alias = d_materialise_unique(dentry, &npi->vfs_inode);
|
||||
if (alias)
|
||||
dput(dentry);
|
||||
dput(alias);
|
||||
}
|
||||
|
||||
dput(dentry);
|
||||
|
Loading…
Reference in New Issue
Block a user