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

Commit dfc020e2 authored by TALU's avatar TALU
Browse files

fs: add a missing call to putname in do_sys_open.

Change-Id: I65d256c26c2f9bf5c8cd3114455b387b9fbd3a45
parent d2c02da7
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -984,6 +984,7 @@ long do_sys_open(int dfd, const char __user *filename, int flags, umode_t mode)
			fd_install(fd, f);
		}
	}
	putname(tmp);
	return fd;
}