From: Al Viro Date: Sun, 5 May 2013 04:11:29 +0000 (-0400) Subject: ds1620: single_open() leak X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=7485e16c52c269a1676c017c3e6cd84484037977;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git ds1620: single_open() leak Cc: stable@vger.kernel.org Signed-off-by: Al Viro --- 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 = { .open = ds1620_proc_therm_open, .read = seq_read, .llseek = seq_lseek, - .release = seq_release, + .release = single_release, }; #endif