Browse Source

h8300: single_open() leaks

Cc: stable@vger.kernel.org
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Al Viro 12 years ago
parent
commit
a81ecc1631
1 changed files with 1 additions and 1 deletions
  1. 1 1
      arch/h8300/kernel/gpio.c

+ 1 - 1
arch/h8300/kernel/gpio.c

@@ -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)