Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8a03feab authored by Al Viro's avatar Al Viro
Browse files

[PATCH] double dput() on failure exit in tiny-shmem



Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 430e285e
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -89,6 +89,8 @@ struct file *shmem_file_setup(char *name, loff_t size, unsigned long flags)

close_file:
	put_filp(file);
	return ERR_PTR(error);

put_dentry:
	dput(dentry);
put_memory: