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

Commit 2e7718cf authored by Al Viro's avatar Al Viro
Browse files

rtc: single_open() leaks



Cc: stable@vger.kernel.org
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 7485e16c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -369,7 +369,7 @@ static const struct file_operations efi_rtc_proc_fops = {
	.open		= efi_rtc_proc_open,
	.read		= seq_read,
	.llseek		= seq_lseek,
	.release	= seq_release,
	.release	= single_release,
};

static int __init 
+1 −1
Original line number Diff line number Diff line
@@ -465,7 +465,7 @@ static const struct file_operations gen_rtc_proc_fops = {
	.open		= gen_rtc_proc_open,
	.read		= seq_read,
	.llseek		= seq_lseek,
	.release	= seq_release,
	.release	= single_release,
};

static int __init gen_rtc_proc_init(void)