ds1620: single_open() leak
authorAl Viro <viro@zeniv.linux.org.uk>
Sun, 5 May 2013 04:11:29 +0000 (00:11 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Sun, 5 May 2013 04:11:29 +0000 (00:11 -0400)
Cc: stable@vger.kernel.org
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
drivers/char/ds1620.c

index 544b4ce617f8910ed443692589935894f2fe0969..0fae5296e311cc819fc071356c77c07d8de74d93 100644 (file)
@@ -355,7 +355,7 @@ static const struct file_operations ds1620_proc_therm_fops = {
        .open           = ds1620_proc_therm_open,
        .read           = seq_read,
        .llseek         = seq_lseek,
-       .release        = seq_release,
+       .release        = single_release,
 };
 #endif