commit | 9b3a0a6f8ca7bdced15647a1ed5e07d86d58062c | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Sun May 05 00:12:56 2013 -0400 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Sun May 05 00:12:56 2013 -0400 |
tree | b37fb82e130a24bed823c095a189f9860ef6f4e8 | |
parent | 2e7718cf7f4111a67f7e74cb66d151345516e37e [diff] [blame] |
input: single_open() leak Cc: stable@vger.kernel.org Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
diff --git a/drivers/input/misc/hp_sdc_rtc.c b/drivers/input/misc/hp_sdc_rtc.c index 770479d..86b8228 100644 --- a/drivers/input/misc/hp_sdc_rtc.c +++ b/drivers/input/misc/hp_sdc_rtc.c
@@ -515,7 +515,7 @@ .open = hp_sdc_rtc_proc_open, .read = seq_read, .llseek = seq_lseek, - .release = seq_release, + .release = single_release, }; static int hp_sdc_rtc_ioctl(struct file *file,