summaryrefslogtreecommitdiff
path: root/drivers/staging/comedi/proc.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2013-05-05 00:15:43 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2013-05-05 00:15:43 -0400
commitbae301d34652e1aa8d8e63198d2dcc84dc612517 (patch)
treea6e5e883e0b6f08a1cfde35c1b5989e0e5b260e4 /drivers/staging/comedi/proc.c
parent9bec8a7401841be71b9bbd4110edf9da4cb5f39d (diff)
staging: single_open() leaks
Cc: stable@vger.kernel.org Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers/staging/comedi/proc.c')
-rw-r--r--drivers/staging/comedi/proc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/comedi/proc.c b/drivers/staging/comedi/proc.c
index db790f9fc9db..886c202de9ab 100644
--- a/drivers/staging/comedi/proc.c
+++ b/drivers/staging/comedi/proc.c
@@ -86,7 +86,7 @@ static const struct file_operations comedi_proc_fops = {
.open = comedi_proc_open,
.read = seq_read,
.llseek = seq_lseek,
- .release = seq_release,
+ .release = single_release,
};
void comedi_proc_init(void)