h8300: single_open() leaks
Cc: stable@vger.kernel.org Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
f42787dff0
commit
a81ecc1631
|
@ -161,7 +161,7 @@ static const struct file_operations gpio_proc_fops = {
|
|||
.open = gpio_proc_open,
|
||||
.read = seq_read,
|
||||
.llseek = seq_lseek,
|
||||
.release = seq_release,
|
||||
.release = single_release,
|
||||
};
|
||||
|
||||
static __init int register_proc(void)
|
||||
|
|
Loading…
Reference in a new issue