diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2013-05-05 00:11:29 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-05-05 00:11:29 -0400 |
commit | 7485e16c52c269a1676c017c3e6cd84484037977 (patch) | |
tree | bd394d615f73285fd0059555b00432d1d42cad3f /drivers/char/ds1620.c | |
parent | c39b9fd728d8173ecda993524089fbc38211a17f (diff) |
ds1620: single_open() leak
Cc: stable@vger.kernel.org
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers/char/ds1620.c')
-rw-r--r-- | drivers/char/ds1620.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/ds1620.c b/drivers/char/ds1620.c index 544b4ce617f8..0fae5296e311 100644 --- a/drivers/char/ds1620.c +++ b/drivers/char/ds1620.c | |||
@@ -355,7 +355,7 @@ static const struct file_operations ds1620_proc_therm_fops = { | |||
355 | .open = ds1620_proc_therm_open, | 355 | .open = ds1620_proc_therm_open, |
356 | .read = seq_read, | 356 | .read = seq_read, |
357 | .llseek = seq_lseek, | 357 | .llseek = seq_lseek, |
358 | .release = seq_release, | 358 | .release = single_release, |
359 | }; | 359 | }; |
360 | #endif | 360 | #endif |
361 | 361 | ||