From bc3041f055c228ec8347580d95cb2b344b503dcb Mon Sep 17 00:00:00 2001 From: Al Viro Date: Sun, 5 May 2013 00:13:20 -0400 Subject: wireless: single_open() leaks Cc: stable@vger.kernel.org Signed-off-by: Al Viro --- drivers/net/wireless/atmel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/net/wireless/atmel.c') diff --git a/drivers/net/wireless/atmel.c b/drivers/net/wireless/atmel.c index 23a3498f14d4..830bb1d1f957 100644 --- a/drivers/net/wireless/atmel.c +++ b/drivers/net/wireless/atmel.c @@ -1502,7 +1502,7 @@ static const struct file_operations atmel_proc_fops = { .open = atmel_proc_open, .read = seq_read, .llseek = seq_lseek, - .release = seq_release, + .release = single_release, }; static const struct net_device_ops atmel_netdev_ops = { -- cgit v1.2.3